repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm-nm] - Fix a bug and unbreak ASan BB.
[llvm-complete.git]
/
test
/
ExecutionEngine
/
OrcLazy
/
basic-object-file-loading.ll
blob
0d815782b1cb08830c9fcabce8128a0e012aca2e
1
; RUN: llc -filetype=obj -o %t %p/Inputs/basic-object-source.ll
2
; RUN: lli -jit-kind=orc-lazy -extra-object %t %s
3
;
4
; Check that we can load an object file and call a function in it.
5
6
declare i32 @foo()
7
8
define i32 @main(i32 %argc, i8** %argv) {
9
entry:
10
%0 = call i32 @foo()
11
ret i32 %0
12
}
13