sunfish added a comment. For comparison, wabt is ok with duplicate names here (see here <https://github.com/WebAssembly/wabt/blob/master/src/binary-reader-ir.cc#L894>), so this may be a bug in binaryen. Repository: rLLD LLVM Linker https://reviews.llvm.org/D40716