mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-16 11:05:54 +00:00
bb8cef51df
- Added HOST_ARCH to Makefile.config.in The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157015 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
279 B
LLVM
15 lines
279 B
LLVM
; RUN: %lli -use-mcjit %s > /dev/null
|
|
|
|
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
|
|
}
|