mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
2ae6c65416
If they're not (re)named, these globals will fail to resolve when the partitioned modules are linked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234707 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
269 B
LLVM
19 lines
269 B
LLVM
; RUN: lli -jit-kind=orc-lazy %s
|
|
|
|
define private void @0() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
define private void @"\01L_foo"() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
define i32 @main(i32 %argc, i8** nocapture readnone %argv) {
|
|
entry:
|
|
call void @0()
|
|
tail call void @"\01L_foo"()
|
|
ret i32 0
|
|
}
|