mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
710863f2b4
If a symbol name begins with the linker private global prefix (as described by the DataLayout) then it should be treated as non-exported, regardless of its LLVM IR visibility value.
19 lines
260 B
LLVM
19 lines
260 B
LLVM
; RUN: lli -jit-kind=orc-lazy %s
|
|
|
|
define private void @foo() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
define void @"\01l_bar"() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
define i32 @main(i32 %argc, i8** nocapture readnone %argv) {
|
|
entry:
|
|
call void @foo()
|
|
call void @"\01l_bar"()
|
|
ret i32 0
|
|
}
|