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

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 12:16:56 PDT 2024


================
@@ -797,7 +821,7 @@ static void writeWhyExtract() {
 // Equivalent of demote demoteSharedAndLazySymbols() in the ELF linker
 static void demoteLazySymbols() {
   for (Symbol *sym : symtab->symbols()) {
-    if (auto* s = dyn_cast<LazySymbol>(sym)) {
+    if (auto *s = dyn_cast<LazySymbol>(sym)) {
----------------
sbc100 wrote:

Yes, sorry, that command would have prevented the whole-file-formatting issue, it won't undo it once its done.

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


More information about the llvm-commits mailing list