aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/ExecutionEngine/OrcLazy/bad-object-file.ll
blob: 9ade3d9ac1fd1d33af9137bd2c028e8b7f704f70 (plain)
1
2
3
4
5
6
7
8
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, ptr %argv) {
entry:
  ret i32 0
}