[PATCH] D145208: [COFF] Add MC support for emitting IMAGE_WEAK_EXTERN_ANTI_DEPENDENCY symbols
Zequan Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 06:58:41 PDT 2023
zequanwu added a comment.
Hi, I got a repro of the undefined symbol error.
Commands:
$ clang-cl /c -flto=thin -fsplit-lto-unit -fwhole-program-vtables /GR- /O1 /w main.cpp impl_lite.cc impl.cc coded_stream.cc
$ lld-link /lib /out:full.lib /WX coded_stream.obj impl.obj impl_lite.obj
$ lld-link main.obj full.lib /out:main.exe /WX
F27254561: main.cpp <https://reviews.llvm.org/F27254561>
F27254560: zero_copy_stream.h <https://reviews.llvm.org/F27254560>
F27254559: impl.h <https://reviews.llvm.org/F27254559>
F27254558: impl_lite.cc <https://reviews.llvm.org/F27254558>
F27254557: coded_stream.h <https://reviews.llvm.org/F27254557>
F27254556: impl_lite.h <https://reviews.llvm.org/F27254556>
F27254555: coded_stream.cc <https://reviews.llvm.org/F27254555>
F27254554: impl.cc <https://reviews.llvm.org/F27254554>
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