[lld] [LLD][COFF] Support anti-dependency symbols (PR #112542)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 03:12:13 PDT 2024
================
@@ -737,7 +737,7 @@ StringRef LinkerDriver::mangleMaybe(Symbol *s) {
// If we find a similar mangled symbol, make this an alias to it and return
// its name.
log(unmangled->getName() + " aliased to " + mangled->getName());
- unmangled->weakAlias = ctx.symtab.addUndefined(mangled->getName());
+ unmangled->setWeakAlias(ctx.symtab.addUndefined(mangled->getName()));
----------------
mstorsjo wrote:
I'm not sure if that's really necessary - I was just checking I understood the situation correctly :-)
https://github.com/llvm/llvm-project/pull/112542
More information about the llvm-commits
mailing list