[Lldb-commits] [lldb] [lldb][Darwin] Read Mach-O binaries out of memory more efficiently (PR #200072)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri May 29 14:52:04 PDT 2026
================
@@ -445,6 +446,10 @@ bool DynamicLoaderDarwin::JSONImageInformationIntoImageInfo(
mh->GetValueForKey("cpusubtype")->GetUnsignedIntegerValue();
image_infos[i].header.filetype =
mh->GetValueForKey("filetype")->GetUnsignedIntegerValue();
+ if (mh->HasKey("sizeof_h_and_loadcmds"))
----------------
JDevlieghere wrote:
Typo?
```suggestion
if (mh->HasKey("sizeof_mh_and_loadcmds"))
```
https://github.com/llvm/llvm-project/pull/200072
More information about the lldb-commits
mailing list