diff options
author | Nico Weber <nicolasweber@gmx.de> | 2016-08-06 02:00:45 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2016-08-06 02:00:45 +0000 |
commit | c893e603ab61c17578992ba38b697be9b0b777b8 (patch) | |
tree | 27091b1cdf0ba0b5e87debd49616414b9ebb7d7f /llvm/test/ExecutionEngine | |
parent | f3d77e45c45e3bb35a529262ff31c5537d27c1fb (diff) | |
download | bcm5719-llvm-c893e603ab61c17578992ba38b697be9b0b777b8.tar.gz bcm5719-llvm-c893e603ab61c17578992ba38b697be9b0b777b8.zip |
Revert r277896.
It breaks ExecutionEngine/OrcLazy/weak-function.ll on most bots.
Script:
--
...
--
Exit Code: 1
Command Output (stderr):
--
Could not find main function.
llvm-svn: 277907
Diffstat (limited to 'llvm/test/ExecutionEngine')
-rw-r--r-- | llvm/test/ExecutionEngine/OrcLazy/Inputs/weak-function-2.ll | 13 | ||||
-rw-r--r-- | llvm/test/ExecutionEngine/OrcLazy/weak-function.ll | 28 |
2 files changed, 0 insertions, 41 deletions
diff --git a/llvm/test/ExecutionEngine/OrcLazy/Inputs/weak-function-2.ll b/llvm/test/ExecutionEngine/OrcLazy/Inputs/weak-function-2.ll deleted file mode 100644 index dca4f707029..00000000000 --- a/llvm/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/llvm/test/ExecutionEngine/OrcLazy/weak-function.ll b/llvm/test/ExecutionEngine/OrcLazy/weak-function.ll deleted file mode 100644 index 86c962e677e..00000000000 --- a/llvm/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 -} - |