mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Additional ExecutionEngine tests, as part of bringing up the MCJIT on ELF
implementation. Currently lit still executes ExecutionEngine tests with JIT (not MCJIT) by default. MCJIT tests can be executed manually by calling llvm-lit with --param jit_impl=mcjit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
16
test/ExecutionEngine/test-call-no-external-funcs.ll
Normal file
16
test/ExecutionEngine/test-call-no-external-funcs.ll
Normal file
@@ -0,0 +1,16 @@
|
||||
; RUN: %lli %s > /dev/null
|
||||
; XFAIL: arm
|
||||
; XFAIL: mcjit
|
||||
|
||||
define i32 @_Z14func_exit_codev() nounwind uwtable {
|
||||
entry:
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
define i32 @main() nounwind uwtable {
|
||||
entry:
|
||||
%retval = alloca i32, align 4
|
||||
store i32 0, i32* %retval
|
||||
%call = call i32 @_Z14func_exit_codev()
|
||||
ret i32 %call
|
||||
}
|
Reference in New Issue
Block a user