mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
2fb0234d5f
Instead of processing relocation for branch to stubs right away, emit a modified relocation and add it to queue to be resolved later when final load address is known. This resolves seven MIPS MCJIT issues that were caused by missing relocation fixups at the end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195157 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
198 B
LLVM
11 lines
198 B
LLVM
; RUN: %lli_mcjit -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
|
|
|
|
define i32 @bar() {
|
|
ret i32 0
|
|
}
|
|
|
|
define i32 @main() {
|
|
%r = call i32 @bar( ) ; <i32> [#uses=1]
|
|
ret i32 %r
|
|
}
|