[Lldb-commits] [lldb] [lldb][Mach-O] Read dyld_all_image_infos addr from `main bin spec` LC_NOTE (PR #127156)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 14 16:48:31 PST 2025


================
@@ -5669,6 +5673,10 @@ bool ObjectFileMachO::GetCorefileMainBinaryInfo(addr_t &value,
             type = eBinaryTypeStandalone;
             typestr = "standalone";
             break;
+          case 4:
+            type = eBinaryTypeUserAllImageInfos;
+            typestr = "userland dyld_all_image_infos";
+            break;
----------------
JDevlieghere wrote:

Should this have a default case that sets `type` to `eBinaryTypeInvalid`? 

https://github.com/llvm/llvm-project/pull/127156


More information about the lldb-commits mailing list