[PATCH] D145208: [COFF] Add MC support for emitting IMAGE_WEAK_EXTERN_ANTI_DEPENDENCY symbols

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 22:54:28 PDT 2023


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: llvm/lib/MC/MCExpr.cpp:1003
     const MCSymbol &Sym = SRE->getSymbol();
+    if (Sym.isVariable() && Sym.isWeakExternal())
+      return nullptr;
----------------
Add a comment


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145208



More information about the llvm-commits mailing list