[lld][WebAssembly] Don't defined indirect function table in relocatable output
authorSam Clegg <sbc@chromium.org>
Tue, 19 Jan 2021 20:10:15 +0000 (12:10 -0800)
committerSam Clegg <sbc@chromium.org>
Tue, 19 Jan 2021 20:59:20 +0000 (12:59 -0800)
commitb99147b4fa7b361fba4eeefdb443dca72b8ee87f
tree5ecc68854dcad8979edce9f5d03d59530cf69aa4
parentda986511fb9da1a46a0ca4dba2e49e2426036303
[lld][WebAssembly] Don't defined indirect function table in relocatable output

Object files (and the output --relocatable) should never define
__indirect_function_table.  It should always be linker synthesized
with the final output executable.

Differential Revision: https://reviews.llvm.org/D94993
lld/test/wasm/locals-duplicate.test
lld/test/wasm/relocatable.ll
lld/test/wasm/signature-mismatch.ll
lld/test/wasm/weak-alias.ll
lld/wasm/Driver.cpp