[lld] [ELF] Enhance --no-allow-shlib-undefined to report non-exported definition (PR #70769)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 00:30:13 PDT 2023


================
@@ -54,6 +54,7 @@ enum {
   NEEDS_TLSGD_TO_IE = 1 << 6,
   NEEDS_GOT_DTPREL = 1 << 7,
   NEEDS_TLSIE = 1 << 8,
+  HAS_SHARED_DEF = 1 << 9,
----------------
MaskRay wrote:

Thanks for the comment. I added a comment to `lld/ELF/Symbols.h`

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


More information about the llvm-commits mailing list