JDevlieghere added inline comments.

================
Comment at: lldb/tools/debugserver/source/MacOSX/MachProcess.mm:1186-1191
+      // dyld doesn't think there is a binary at this address,
+      // but maybe there isn't a binary YET - let's look in memory
+      // for a proper mach-o header etc and return what we can.
+      // We will have an empty filename for the binary (because dyld
+      // doesn't know about it yet) but we can read all of the mach-o
+      // load commands from memory directly.
----------------
What happens when it turns out that there's no Mach-O header at this load 
address? I expect it doesn't end up in the `jGetLoadedDynamicLibrariesInfos` 
response then? Where does this filtering take place?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128956/new/

https://reviews.llvm.org/D128956

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to