[lld] [LLD] [COFF] Handle manually defined __imp_ pointers in LTO (PR #70777)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 4 14:43:39 PDT 2023


================
@@ -1061,6 +1061,11 @@ void BitcodeFile::parse() {
     } else {
       sym = ctx.symtab.addRegular(this, symName, nullptr, fakeSC, 0,
                                   objSym.isWeak());
+      // If one LTO object defines a __imp_<foo> symbol, and another LTO
----------------
mstorsjo wrote:

Sure, done - thanks!

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


More information about the llvm-commits mailing list