[PATCH] D119049: WIP: Allow using LLD as a lib

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 6 13:38:37 PST 2022


mstorsjo added inline comments.


================
Comment at: lld/tools/lld/lld_lib.cpp:204
+LLVM_WEAK_SYMBOL(
+    ?link at coff@lld@@YA_NV?$ArrayRef at PEBD@llvm@@AEAVraw_ostream at 4@1_N2 at Z,
+    ?alt_link at coff@lld@@YA_NV?$ArrayRef at PEBD@llvm@@AEAVraw_ostream at 4@1_N2 at Z)
----------------
This is the MSVC specific C++ mangling, and doesn't work as such for the non-MSVC version of `LLVM_WEAK_SYMBOL` here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119049



More information about the llvm-commits mailing list