llvm-project/lld/test/wasm/Inputs/allow-multiple-definition.s
mzukovec 0367305af8
[lld][WebAssembly] Add allow-multiple-definition flag (#97699)
Add `allow-multiple-definition` flag to `wasm-ld`. This follows the ELF
linker logic. In case of duplication, the first symbol met is used.

This PR resolves the #97543
2024-09-04 08:50:10 -07:00

7 lines
90 B
ArmAsm

.hidden foo
.globl foo
foo:
.functype foo () -> (i32)
i32.const 1
end_function