[PATCH] D101786: [llvm-objdump] Exclude __mh_execute_header symbol during MachO disassembly

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 11 09:47:43 PDT 2021


int3 added inline comments.


================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:1082
+      // code, and is irrelevant for disassembly.
+      if (NameOrErr->equals("__mh_execute_header"))
+        continue;
----------------
there are a bunch of other `__mh_*_header` symbols (you can see them in the LLD source)... should we ignore them all?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101786



More information about the llvm-commits mailing list