Mercurial > hg > CbC > CbC_llvm
view llvm/test/ExecutionEngine/OrcLazy/static-library-support.ll @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 0572611fdcc8 |
line wrap: on
line source
; This first line will generate the .o files for the next run line ; RUN: llc -filetype=obj -o %t.o %p/Inputs/basic-object-source.ll ; RUN: llvm-ar r %t.a %t.o ; RUN: lli -jit-kind=orc-lazy -extra-archive %t.a %s declare i32 @foo() define i32 @main() { %r = call i32 @foo( ) ; <i32> [#uses=1] ret i32 %r }