diff options
author | Jason Molenda <jason@molenda.com> | 2023-03-08 16:49:28 -0800 |
---|---|---|
committer | Jason Molenda <jason@molenda.com> | 2023-03-08 16:51:27 -0800 |
commit | 794d2089cd741135b60e94ac2495174a03b38143 (patch) | |
tree | e1ee819360cfdeda9e4c69c6089c6403f3622cba /lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.h | |
parent | 5412ed44b5887563a17203d5ed5796dbffce3577 (diff) | |
download | llvm-794d2089cd741135b60e94ac2495174a03b38143.zip llvm-794d2089cd741135b60e94ac2495174a03b38143.tar.gz llvm-794d2089cd741135b60e94ac2495174a03b38143.tar.bz2 |
Don't load non-kexts in darwin kernel debug; handle unslid segs
We have some non-kexts in the binary list in the Darwin kernel
in some situations. The binary has likely already been loaded;
check if it has been, and don't re-load it. Also, if we do need
to load it at this point, if in-memory segment vmaddrs have not
been updated to the actual load addresses, calculate a fixed slide
for the in-memory image and apply that slide to the ondisk binary.
Differential Revision: https://reviews.llvm.org/D145547
rdar://106343477
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.h')
0 files changed, 0 insertions, 0 deletions