[lld] [llvm] RFC: [LLD] [COFF] Fix linking MSVC generated implib header objects (PR #122811)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 11:57:17 PST 2025


================
@@ -458,9 +458,16 @@ Symbol *ObjFile::createRegular(COFFSymbolRef sym) {
       return nullptr;
     return symtab.addUndefined(name, this, false);
   }
-  if (sc)
+  if (sc) {
+    const coff_symbol_generic *sym_gen = sym.getGeneric();
----------------
cjacek wrote:

Maybe something like `symGen`.

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


More information about the llvm-commits mailing list