OSDN Git Service

[WebAssembly] Don't emit .import_global for the wasm target.
authorDan Gohman <dan433584@gmail.com>
Tue, 5 Dec 2017 17:21:57 +0000 (17:21 +0000)
committerDan Gohman <dan433584@gmail.com>
Tue, 5 Dec 2017 17:21:57 +0000 (17:21 +0000)
commit314790b9d8379b27f806ce8bbbc5c47ab62a51ed
tree74ea50c1546cb8f1a2bab5f5dfb60c0746f52743
parent9a320d928477b9ab9670179391152797a6ccde9a
[WebAssembly] Don't emit .import_global for the wasm target.

.import_global is used by the ELF-based target and not needed by the wasm
target.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319796 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
test/CodeGen/WebAssembly/globl.ll