mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[ORC] Add a testcase for r338975.
Tests that bad object files generate a predictable error from the JIT APIs. llvm-svn: 340881
This commit is contained in:
parent
07d5e694df
commit
ffb5847537
9
test/ExecutionEngine/OrcLazy/bad-object-file.ll
Normal file
9
test/ExecutionEngine/OrcLazy/bad-object-file.ll
Normal file
@ -0,0 +1,9 @@
|
||||
; RUN: not lli -jit-kind=orc-lazy -extra-object %p/Inputs/empty-object-file.o %s 2>&1 | FileCheck %s
|
||||
;
|
||||
; Test that bad object files yield an error.
|
||||
|
||||
; CHECK: The file was not recognized as a valid object file
|
||||
define i32 @main(i32 %argc, i8** %argv) {
|
||||
entry:
|
||||
ret i32 0
|
||||
}
|
Loading…
Reference in New Issue
Block a user