[WebAssemlby] MC: Don't write COMDAT symbols as global imports
commit2c77fcc6e138709f2a43d1aaee0171942151127a
authorSam Clegg <sbc@chromium.org>
Thu, 11 Jan 2018 20:35:17 +0000 (11 20:35 +0000)
committerSam Clegg <sbc@chromium.org>
Thu, 11 Jan 2018 20:35:17 +0000 (11 20:35 +0000)
treef4dfa87a9f415a42264dca5a9dcb876b820a4fef
parente470c7020553c5a79f85a92064fd754cf917d689
[WebAssemlby] MC: Don't write COMDAT symbols as global imports

This was causing undefined references at link time in lld.

Differential Revision: https://reviews.llvm.org/D41959

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322309 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSymbolWasm.h
lib/MC/MCContext.cpp
lib/MC/WasmObjectWriter.cpp
test/MC/WebAssembly/comdat.ll