[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
Add support for a "load binary" LC_NOTE in mach-o corefilesAdd lldb support for a Mach-O "load binary" LC_NOTE which providesa UUID, load address/slide, and possibly a name of a binary thatshould
Add support for a "load binary" LC_NOTE in mach-o corefilesAdd lldb support for a Mach-O "load binary" LC_NOTE which providesa UUID, load address/slide, and possibly a name of a binary thatshould 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/D115494rdar://85069250
Set a default number of address bits on Darwin arm64 systemsWith arm64e ARMv8.3 pointer authentication, lldb needs to know howmany bits are used for addressing and how many are used for pointerau
Set a default number of address bits on Darwin arm64 systemsWith arm64e ARMv8.3 pointer authentication, lldb needs to know howmany bits are used for addressing and how many are used for pointerauth signing. This should be determined dynamically from the inferiorsystem / corefile, but there are some workflows where it still isn'trecorded and we fall back on a default value that is correct on someDarwin environments.This patch also explicitly sets the vendor of mach-o binaries toApple, so we select an Apple ABI instead of a random other ABI.It adds a function pointer formatter for systems where pointerauthentication is in use, and we can strip the ptrauth bits offof the function pointer address and get a different value thatpoints to an actual symbol.Differential Revision: https://reviews.llvm.org/D115431rdar://84644661