diff options
| author | Jason Molenda <jason@molenda.com> | 2021-12-13 13:20:05 -0800 |
|---|---|---|
| committer | Jason Molenda <jason@molenda.com> | 2021-12-13 13:21:56 -0800 |
| commit | f2120328e81879bf14d2a5c381749a11577fa304 (patch) | |
| tree | 76812fa1120bb689386449c94126ab130f371870 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 5c23acbc023fbb9fdc6c56f4d2212ecb0432874e (diff) | |
Add support for a "load binary" LC_NOTE in mach-o corefiles
Add lldb support for a Mach-O "load binary" LC_NOTE which provides
a UUID, load address/slide, and possibly a name of a binary that
should be loaded when examining the core.
struct load_binary
{
uint32_t version; // currently 1
uuid_t uuid; // all zeroes if uuid not specified
uint64_t load_address; // virtual address where the macho is loaded, UINT64_MAX if unavail
uint64_t slide; // slide to be applied to file address to get load address, 0 if unavail
char name_cstring[]; // must be nul-byte terminated c-string, '\0' alone if name unavail
} __attribute__((packed));
Differential Revision: https://reviews.llvm.org/D115494
rdar://85069250
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
