[PATCH] D112735: export unique symbol list for xcoff with llvm-objdump new option "--export-unique-symbol"

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 28 10:17:13 PDT 2021


MaskRay added inline comments.


================
Comment at: llvm/include/llvm/Object/SymbolicFile.h:122
                                  // (IR only)
+    SF_Protected = 1U << 12,     // Symbol has protected visibility
+    SF_Internal = 1U << 13       // Symbol has internal visibility
----------------
I don't think we need new bits.

If internal visibility has similar behavior with hidden visibility, just reuse it or not set symbol properties at all.

I am mostly concerned with the fact that BFD style describing all binary format's every symbol property simply does not work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112735



More information about the llvm-commits mailing list