summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-08-06 02:00:45 +0000
committerNico Weber <nicolasweber@gmx.de>2016-08-06 02:00:45 +0000
commit84f6a48c0d301524b28fc15f2ba849a89ce5e576 (patch)
treef4764121b71902a06c2627a035e280e8ed4eb55d /test/ExecutionEngine
parentd9a9f7d3ac7531ba2edcb1564536b1fb055ff392 (diff)
Revert r277896.
It breaks ExecutionEngine/OrcLazy/weak-function.ll on most bots. Script: -- ... -- Exit Code: 1 Command Output (stderr): -- Could not find main function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277907 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r--test/ExecutionEngine/OrcLazy/Inputs/weak-function-2.ll13
-rw-r--r--test/ExecutionEngine/OrcLazy/weak-function.ll28
2 files changed, 0 insertions, 41 deletions
diff --git a/test/ExecutionEngine/OrcLazy/Inputs/weak-function-2.ll b/test/ExecutionEngine/OrcLazy/Inputs/weak-function-2.ll
deleted file mode 100644
index dca4f707029..00000000000
--- a/test/ExecutionEngine/OrcLazy/Inputs/weak-function-2.ll
+++ /dev/null
@@ -1,13 +0,0 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-apple-macosx10.12.0"
-
-; Function Attrs: nounwind ssp uwtable
-define linkonce_odr i32 @baz() #0 {
-entry:
- ret i32 0
-}
-
-define i8* @bar() {
-entry:
- ret i8* bitcast (i32 ()* @baz to i8*)
-}
diff --git a/test/ExecutionEngine/OrcLazy/weak-function.ll b/test/ExecutionEngine/OrcLazy/weak-function.ll
deleted file mode 100644
index 86c962e677e..00000000000
--- a/test/ExecutionEngine/OrcLazy/weak-function.ll
+++ /dev/null
@@ -1,28 +0,0 @@
-; RUN: lli -jit-kind=orc-lazy -extra-module %p/Inputs/weak-function-2.ll %s
-;
-; Check that functions in two different modules agree on the address of weak
-; function 'baz'
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-apple-macosx10.12.0"
-
-define linkonce_odr i32 @baz() {
-entry:
- ret i32 0
-}
-
-define i8* @foo() {
-entry:
- ret i8* bitcast (i32 ()* @baz to i8*)
-}
-
-declare i8* @bar()
-
-define i32 @main(i32 %argc, i8** %argv) {
-entry:
- %call = tail call i8* @foo()
- %call1 = tail call i8* @bar()
- %cmp = icmp ne i8* %call, %call1
- %conv = zext i1 %cmp to i32
- ret i32 %conv
-}
-