Support for generating ELF objects on Windows.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Tue, 2 Oct 2012 18:38:34 +0000 (18:38 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Tue, 2 Oct 2012 18:38:34 +0000 (18:38 +0000)
commitfeb805fcf22b9568f32d6bee6d837ab417b89c18
treef45fd658a9d20be08b5c81eea9512cb76ce36a5f
parent5e5cf1a50c15aac4efa4492e83a4b2792e50d387
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
57 files changed:
llvm/include/llvm/ADT/Triple.h
llvm/lib/ExecutionEngine/TargetSelect.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/Support/Triple.cpp
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
llvm/lib/Target/X86/X86Subtarget.h
llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll
llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll
llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll
llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll
llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll
llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll
llvm/test/ExecutionEngine/MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll
llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll
llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll
llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll
llvm/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll
llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll
llvm/test/ExecutionEngine/MCJIT/hello.ll
llvm/test/ExecutionEngine/MCJIT/hello2.ll
llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
llvm/test/ExecutionEngine/MCJIT/pr13727.ll
llvm/test/ExecutionEngine/MCJIT/simplesttest.ll
llvm/test/ExecutionEngine/MCJIT/simpletest.ll
llvm/test/ExecutionEngine/MCJIT/stubs.ll
llvm/test/ExecutionEngine/MCJIT/test-arith.ll
llvm/test/ExecutionEngine/MCJIT/test-branch.ll
llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll
llvm/test/ExecutionEngine/MCJIT/test-call.ll
llvm/test/ExecutionEngine/MCJIT/test-cast.ll
llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll
llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll
llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll
llvm/test/ExecutionEngine/MCJIT/test-fp.ll
llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll
llvm/test/ExecutionEngine/MCJIT/test-global.ll
llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll
llvm/test/ExecutionEngine/MCJIT/test-local.ll
llvm/test/ExecutionEngine/MCJIT/test-logical.ll
llvm/test/ExecutionEngine/MCJIT/test-loop.ll
llvm/test/ExecutionEngine/MCJIT/test-phi.ll
llvm/test/ExecutionEngine/MCJIT/test-ret.ll
llvm/test/ExecutionEngine/MCJIT/test-return.ll
llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll
llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll
llvm/test/ExecutionEngine/MCJIT/test-shift.ll
llvm/test/lit.cfg