summaryrefslogtreecommitdiff
path: root/unittests/ExecutionEngine
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-11-24 02:11:14 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-11-24 02:11:14 +0000
commit630382adc8d4aa8e8e54b03649bf5884d6d38e4f (patch)
tree9b61248579f00df5e02cba44dd9da99ed70b40d3 /unittests/ExecutionEngine
parent9e763b88b0c194924eed1de00d17f421a9222181 (diff)
downloadllvm-630382adc8d4aa8e8e54b03649bf5884d6d38e4f.tar.gz
llvm-630382adc8d4aa8e8e54b03649bf5884d6d38e4f.tar.bz2
llvm-630382adc8d4aa8e8e54b03649bf5884d6d38e4f.tar.xz
Oops. Re-disable JITTest.NoStubs on ARM and PPC since they still use stubs to
make far calls work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ExecutionEngine')
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp
index b676ee41b2..12c6b67d98 100644
--- a/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -457,6 +457,10 @@ TEST_F(JITTest, ModuleDeletion) {
NumTablesDeallocated);
}
+// ARM and PPC still emit stubs for calls since the target may be too far away
+// to call directly. This #if can probably be removed when
+// http://llvm.org/PR5201 is fixed.
+#if !defined(__arm__) && !defined(__powerpc__) && !defined(__ppc__)
typedef int (*FooPtr) ();
TEST_F(JITTest, NoStubs) {
@@ -494,6 +498,7 @@ TEST_F(JITTest, NoStubs) {
ASSERT_EQ(stubsBefore, RJMM->stubsAllocated);
}
+#endif // !ARM && !PPC
TEST_F(JITTest, FunctionPointersOutliveTheirCreator) {
TheJIT->DisableLazyCompilation(true);