[clang] [lld] [llvm] [LTO][LLD] Prevent invalid LTO libfunc transforms (PR #164916)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 11 00:05:17 PST 2026
================
@@ -1447,7 +1449,7 @@ void BitcodeFile::parse() {
symtab.addRegular(this, symName, nullptr, fakeSC, 0, objSym.isWeak());
}
symbols.push_back(sym);
- if (objSym.isUsed() || objSym.isLibcall(libcalls))
+ if (objSym.isUsed() || objSym.isLibcall(tli, libcalls))
----------------
nikic wrote:
If it's not particularly hard, it would be great to support this across all linkers. These kinds of partially supported features are a big problem for LLVM :(
https://github.com/llvm/llvm-project/pull/164916
More information about the cfe-commits
mailing list