diff options
author | Jason Molenda <jmolenda@apple.com> | 2017-04-12 23:33:30 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2017-04-12 23:33:30 +0000 |
commit | 9b7fcdcb57a71e74d8fd65feb7089bd22b4367ef (patch) | |
tree | bad3f3315e6ce8d4fb83266ae9000e4a444c1369 /llvm/lib/LibDriver/LibDriver.cpp | |
parent | 75999dff9356b9bd43749a9e5486d3e79f0bf7f4 (diff) | |
download | bcm5719-llvm-9b7fcdcb57a71e74d8fd65feb7089bd22b4367ef.tar.gz bcm5719-llvm-9b7fcdcb57a71e74d8fd65feb7089bd22b4367ef.zip |
Use two LC_NOTE load commands for identifying the main binary that
lldb should use when given a corefile.
This uses an LC_NOTE "main bin spec" or an LC_NOTE "kern ver str"
if they are present in a Mach-O core file.
Core files may have multiple different binaries -- different kernels,
or a mix of user process and kernel binaries -- and it can be
difficult for lldb to detect the correct one to use simply by looking
at the pages of memory. These two new LC_NOTE load commands allow
for the correct binary to be recorded unambiguously.
<rdar://problem/20878266>
llvm-svn: 300138
Diffstat (limited to 'llvm/lib/LibDriver/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions