summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/switch.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-01-07 03:19:23 +0000
committerDan Gohman <dan433584@gmail.com>2016-01-07 03:19:23 +0000
commit0c6f5ac50a25e734c2ebd0df028a363fbc48b179 (patch)
tree59730edd398210c4adfc766b4b27a562a2349274 /llvm/test/CodeGen/WebAssembly/switch.ll
parenta7324a2823657927ffc9fa63a6489636faf1d251 (diff)
downloadbcm5719-llvm-0c6f5ac50a25e734c2ebd0df028a363fbc48b179.tar.gz
bcm5719-llvm-0c6f5ac50a25e734c2ebd0df028a363fbc48b179.zip
[WebAssembly] Add -m:e to the target triple.
This enables ELF-style name mangling, which primarily means using ".L" for private symbols. llvm-svn: 257020
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/switch.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/switch.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/switch.ll b/llvm/test/CodeGen/WebAssembly/switch.ll
index 7f6f6efff7d..398cb0b96dc 100644
--- a/llvm/test/CodeGen/WebAssembly/switch.ll
+++ b/llvm/test/CodeGen/WebAssembly/switch.ll
@@ -3,7 +3,7 @@
; Test switch instructions. Block placement is disabled because it reorders
; the blocks in a way that isn't interesting here.
-target datalayout = "e-p:32:32-i64:64-n32:64-S128"
+target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32-unknown-unknown"
declare void @foo0()
OpenPOWER on IntegriCloud