summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-29 17:24:34 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-29 17:24:34 +0000
commitf1f1c626e7fcd3db60641be223308390de288a41 (patch)
tree69a91d6a0ffc501985816161f02a809d2a50fcf4 /llvm/test/ExecutionEngine
parent63524b945356f1d3c5a4fe4b6ba979d9cdc97200 (diff)
downloadbcm5719-llvm-f1f1c626e7fcd3db60641be223308390de288a41.tar.gz
bcm5719-llvm-f1f1c626e7fcd3db60641be223308390de288a41.zip
Propagate relocation info to resolveRelocation.
This gets most of the MCJITs tests passing with MachO. llvm-svn: 180716
Diffstat (limited to 'llvm/test/ExecutionEngine')
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll1
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/lit.local.cfg5
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll1
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll1
4 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll b/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll
index 3f402c59311..d2f31bb33ca 100644
--- a/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll
+++ b/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll
@@ -1,4 +1,5 @@
; RUN: %lli_mcjit %s
+; XFAIL: darwin
;
; Verify relocations to global symbols with addend work correctly.
;
diff --git a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
index fc29f651aa1..7bf401b7d43 100644
--- a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
@@ -14,10 +14,7 @@ if ('X86' in targets) | ('ARM' in targets) | ('Mips' in targets) | \
else:
config.unsupported = True
-if root.host_arch not in ['x86', 'x86_64', 'ARM', 'Mips', 'PowerPC']:
- config.unsupported = True
-
-if root.host_os in ['Darwin']:
+if root.host_arch not in ['i386', 'x86', 'x86_64', 'ARM', 'Mips', 'PowerPC']:
config.unsupported = True
if 'powerpc' in root.target_triple and not 'powerpc64' in root.target_triple:
diff --git a/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll b/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll
index 989a4734233..43256c4492c 100644
--- a/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll
+++ b/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll
@@ -1,4 +1,5 @@
; RUN: %lli_mcjit -O0 %s
+; XFAIL: darwin
; This test checks that common symbols have been allocated addresses honouring
; the alignment requirement.
diff --git a/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll b/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll
index 4510d9b6a49..947d8f5d423 100644
--- a/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll
+++ b/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll
@@ -1,4 +1,5 @@
; RUN: %lli_mcjit %s > /dev/null
+; XFAIL: darwin
@var = global i32 1, align 4
@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @ctor_func }]
@llvm.global_dtors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @dtor_func }]
OpenPOWER on IntegriCloud