Mercurial > hg > CbC > CbC_llvm
view llvm/test/ExecutionEngine/OrcLazy/single-function-call.ll @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | c4bab56944e8 |
line wrap: on
line source
; RUN: lli -jit-kind=orc-lazy %s ; ; Basic sanity check: We can make a call inside lazily JIT'd code. ; Compared to minimal.ll, this demonstrates that we can call through a stub. define i32 @foo() { entry: ret i32 0 } define i32 @main(i32 %argc, i8** nocapture readnone %argv) { entry: %0 = call i32() @foo() ret i32 %0 }