[lld] wasm-ld: Add allow-multiple-definition flag (PR #97699)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 09:18:22 PDT 2024
================
@@ -310,9 +310,14 @@ static bool shouldReplace(const Symbol *existing, InputFile *newFile,
}
// Neither symbol is week. They conflict.
----------------
sbc100 wrote:
It looks like `reportDuplicate` in the ELF linker simple returns early when `allowMultipleDefinition` is set. I guess we should do the same?
https://github.com/llvm/llvm-project/pull/97699
More information about the llvm-commits
mailing list