[lld] wasm-ld: Add allow-multiple-definition flag (PR #97699)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 6 11:04:15 PDT 2024


================
@@ -310,9 +310,14 @@ static bool shouldReplace(const Symbol *existing, InputFile *newFile,
   }
 
   // Neither symbol is week. They conflict.
----------------
mzukovec wrote:

I see that ELF has some checks with `errorOrWarn`; duplicated symbols are one of them. Would you like me to do the same for `wasm-ld`? In that case, I may need some help with other checks, which may be non-breaking in case of a warning.

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


More information about the llvm-commits mailing list