[Orc] During module partitioning, rename anonymous and asm-private globals.
[oota-llvm.git] / test / ExecutionEngine / OrcLazy / anonymous_globals.ll
1 ; RUN: lli -jit-kind=orc-lazy %s
2
3 define private void @0() {
4 entry:
5   ret void
6 }
7
8 define private void @"\01L_foo"() {
9 entry:
10   ret void
11 }
12
13 define i32 @main(i32 %argc, i8** nocapture readnone %argv) {
14 entry:
15   call void @0()
16   tail call void @"\01L_foo"()
17   ret i32 0
18 }