summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-08-26 23:39:30 +0000
committerAndrew Trick <atrick@apple.com>2011-08-26 23:39:30 +0000
commit0005cc7a0a4834ff8915546855864eac22b5f7ea (patch)
treecb01d2b4762d8e8f4841a2b37526bf1f15967a06 /unittests
parentf1eab597b2316c6cfcabfcee98895fedb2071722 (diff)
downloadllvm-0005cc7a0a4834ff8915546855864eac22b5f7ea.tar.gz
llvm-0005cc7a0a4834ff8915546855864eac22b5f7ea.tar.bz2
llvm-0005cc7a0a4834ff8915546855864eac22b5f7ea.tar.xz
Excluding ARM JIT tests until someone can fix this compilation path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp
index 302b18928c..1810bf24a9 100644
--- a/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -284,6 +284,8 @@ int PlusOne(int arg) {
return arg + 1;
}
+// ARM tests disabled pending fix for PR10783.
+#if !defined(__arm__)
TEST_F(JITTest, FarCallToKnownFunction) {
// x86-64 can only make direct calls to functions within 32 bits of
// the current PC. To call anything farther away, we have to load
@@ -461,6 +463,7 @@ TEST_F(JITTest, ModuleDeletion) {
EXPECT_EQ(RJMM->startExceptionTableCalls.size(),
NumTablesDeallocated);
}
+#endif // !defined(__arm__)
// 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
@@ -608,6 +611,8 @@ extern "C" int32_t JITTest_AvailableExternallyFunction() {
}
namespace {
+// ARM tests disabled pending fix for PR10783.
+#if !defined(__arm__)
TEST_F(JITTest, AvailableExternallyFunctionIsntCompiled) {
TheJIT->DisableLazyCompilation(true);
LoadAssembly("define available_externally i32 "
@@ -627,6 +632,7 @@ TEST_F(JITTest, AvailableExternallyFunctionIsntCompiled) {
EXPECT_EQ(42, func()) << "func should return 42 from the static version,"
<< " not 7 from the IR version.";
}
+#endif // !defined(__arm__)
TEST_F(JITTest, EscapedLazyStubStillCallable) {
TheJIT->DisableLazyCompilation(false);
@@ -729,6 +735,8 @@ TEST(LazyLoadedJITTest, MaterializableAvailableExternallyFunctionIsntCompiled) {
<< " not 7 from the IR version.";
}
+// ARM tests disabled pending fix for PR10783.
+#if !defined(__arm__)
TEST(LazyLoadedJITTest, EagerCompiledRecursionThroughGhost) {
LLVMContext Context;
const std::string Bitcode =
@@ -763,6 +771,7 @@ TEST(LazyLoadedJITTest, EagerCompiledRecursionThroughGhost) {
(intptr_t)TheJIT->getPointerToFunction(recur1IR));
EXPECT_EQ(3, recur1(4));
}
+#endif // !defined(__arm__)
// This code is copied from JITEventListenerTest, but it only runs once for all
// the tests in this directory. Everything seems fine, but that's strange