summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2025-01-17 17:35:31 +1100
committerLang Hames <lhames@gmail.com>2025-01-22 16:51:40 +1100
commit7256c91ad29c1407320d5949414fd4736d1f2644 (patch)
tree1d5d27429d18280fa19a41e61ee89c9d00378a71 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parent527c030df8b18071553721329339326bfe82e2a5 (diff)
[JITLink][MachO] Add getOrCreateLocalMachOHeader utility.
This function can be called on a LinkGraph to get an anonymous symbol pointing to the start of a mach_header / mach_header_64 block with suitable cputype and cpusubtype values for the LinkGraph, and with filetype = MachO::MH_OBJECT. This functionality will be used in the upcoming compact-unwind support patch: For graphs that do not have a suitable existing header to use (indicated by the presence of a "__jitlink$libunwind_dso_base" symbol) the compact-unwind support plugin will create a local header to use as the dso-base to report to libunwind.
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions