reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
; 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
}