summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/MCJIT/hello2.ll
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2012-10-02 18:38:34 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2012-10-02 18:38:34 +0000
commitfeb805fcf22b9568f32d6bee6d837ab417b89c18 (patch)
treef45fd658a9d20be08b5c81eea9512cb76ce36a5f /llvm/test/ExecutionEngine/MCJIT/hello2.ll
parent5e5cf1a50c15aac4efa4492e83a4b2792e50d387 (diff)
downloadbcm5719-llvm-feb805fcf22b9568f32d6bee6d837ab417b89c18.tar.gz
bcm5719-llvm-feb805fcf22b9568f32d6bee6d837ab417b89c18.zip
Support for generating ELF objects on Windows.
This adds 'elf' as a recognized target triple environment value and overrides the default generated object format on Windows platforms if that value is present. This patch also enables MCJIT tests on Windows using the new environment value. llvm-svn: 165030
Diffstat (limited to 'llvm/test/ExecutionEngine/MCJIT/hello2.ll')
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/hello2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/ExecutionEngine/MCJIT/hello2.ll b/llvm/test/ExecutionEngine/MCJIT/hello2.ll
index 670a6dd671c..756fcadb1ca 100644
--- a/llvm/test/ExecutionEngine/MCJIT/hello2.ll
+++ b/llvm/test/ExecutionEngine/MCJIT/hello2.ll
@@ -1,4 +1,4 @@
-; RUN: %lli -use-mcjit %s > /dev/null
+; RUN: %lli -mtriple=%mcjit_triple -use-mcjit %s > /dev/null
@X = global i32 7 ; <i32*> [#uses=0]
@msg = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
OpenPOWER on IntegriCloud