From feb805fcf22b9568f32d6bee6d837ab417b89c18 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Tue, 2 Oct 2012 18:38:34 +0000 Subject: 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 --- llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll | 2 +- .../MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/hello.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/hello2.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/lit.local.cfg | 2 +- llvm/test/ExecutionEngine/MCJIT/pr13727.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/simplesttest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/simpletest.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/stubs.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-arith.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-branch.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-call.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-cast.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-fp.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-global.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-local.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-logical.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-loop.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-phi.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-ret.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-return.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll | 2 +- llvm/test/ExecutionEngine/MCJIT/test-shift.ll | 2 +- 49 files changed, 49 insertions(+), 49 deletions(-) (limited to 'llvm/test/ExecutionEngine') diff --git a/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll b/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll index 46273d34009..28cc54a8680 100644 --- a/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll @@ -1,4 +1,4 @@ -; RUN: %lli -use-mcjit %s > /dev/null +; RUN: %lli -mtriple=%mcjit_triple -use-mcjit %s > /dev/null @.LC0 = internal global [10 x i8] c"argc: %d\0A\00" ; <[10 x i8]*> [#uses=1] diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll index 88bfbb3c09b..9f895983fdb 100644 --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll @@ -1,4 +1,4 @@ -; RUN: %lli -use-mcjit %s > /dev/null +; RUN: %lli -mtriple=%mcjit_triple -use-mcjit %s > /dev/null define i32 @foo(i32 %X, i32 %Y, double %A) { %cond212 = fcmp une double %A, 1.000000e+00 ; [#uses=1] diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll index d5f860d1704..997b2a9037e 100644 --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll @@ -1,4 +1,4 @@ -; RUN: %lli -use-mcjit %s > /dev/null +; RUN: %lli -mtriple=%mcjit_triple -use-mcjit %s > /dev/null define i32 @main() { call i32 @mylog( i32 4 ) ; :1 [#uses=0] diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll index 721f2e8859d..ba35b5bcc43 100644 --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll @@ -1,4 +1,4 @@ -; RUN: %lli -use-mcjit %s > /dev/null +; RUN: %lli -mtriple=%mcjit_triple -use-mcjit %s > /dev/null define i32 @main() { ;