1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/ExecutionEngine/OrcLazy/private_linkage.ll
Lang Hames 710863f2b4 [ORC] Honor linker private global prefix on symbol names.
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.
2020-06-15 10:28:36 -07:00

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
}