[lld] wasm-ld: Add allow-multiple-definition flag (PR #97699)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 7 04:01:10 PDT 2024
Martin =?utf-8?q?Žukovec?= <martin.zukovec at xlab.si>,
Martin =?utf-8?q?Žukovec?= <martin.zukovec at xlab.si>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/97699 at github.com>
================
@@ -310,9 +310,14 @@ static bool shouldReplace(const Symbol *existing, InputFile *newFile,
}
// Neither symbol is week. They conflict.
----------------
mzukovec wrote:
To follow the ELF logic, I had to add the `--noinhibit-exec` flag that is checked in `errorOrWarn`. Currently `errorOrWarn` is only used for multiple definitions. It can be used elsewhere if needed.
https://github.com/llvm/llvm-project/pull/97699
More information about the llvm-commits
mailing list