aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2021-09-16 01:36:56 -0700
committerJason Molenda <jason@molenda.com>2021-09-16 01:38:48 -0700
commitceded4153245322c45d28068860fb3d8d0a4884d (patch)
tree0773fcd0b994ebc8546044a4bd0e846ec405866a /lldb/source/Commands/CommandObjectPlatform.cpp
parent9c4a1686d7c487fff8e63fa67e64623eea8986d5 (diff)
downloadllvm-ceded4153245322c45d28068860fb3d8d0a4884d.zip
llvm-ceded4153245322c45d28068860fb3d8d0a4884d.tar.gz
llvm-ceded4153245322c45d28068860fb3d8d0a4884d.tar.bz2
Don't set executable file in ObjectFileMachO::LoadCoreFileImages
When the corefile reader is adding binaries from the "all image infos" LC_NOTE in a Mach-O corefile, it would detect if the binary being added was an executable binary and set it as the Target's executable binary. This has the side effect of clearing the Target's image list, so if the executable was in the middle of the all image infos, the initial images would be dropped. There's no need to set the executable binary in the Target for these corefile processes, so instead of doing multiple passes over the list to find the executable, I'm dropping that.
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions