brintos

brintos / llvm-project-archived public Read only

0
0
Text · 334 B · 3f039f6 Raw
16 lines · plain
1; RUN: lli -jit-kind=orc-lazy %s2;3; Basic correctness check: We can make a call inside lazily JIT'd code.4; Compared to minimal.ll, this demonstrates that we can call through a stub.5 6define i32 @foo() {7entry:8  ret i32 09}10 11define i32 @main(i32 %argc, ptr nocapture readnone %argv) {12entry:13  %0 = call i32() @foo()14  ret i32 %015}16