mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Add a test showing that we internalize lazily linked GVs.
llvm-svn: 254989
This commit is contained in:
parent
6df517bf63
commit
7e77ee21fb
8
test/Linker/Inputs/internalize-lazy.ll
Normal file
8
test/Linker/Inputs/internalize-lazy.ll
Normal file
@ -0,0 +1,8 @@
|
||||
define linkonce_odr void @g() {
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @f() {
|
||||
call void @g()
|
||||
ret void
|
||||
}
|
4
test/Linker/internalize-lazy.ll
Normal file
4
test/Linker/internalize-lazy.ll
Normal file
@ -0,0 +1,4 @@
|
||||
; RUN: llvm-link -S -internalize %s %p/Inputs/internalize-lazy.ll | FileCheck %s
|
||||
|
||||
; CHECK: define internal void @f
|
||||
; CHECK: define internal void @g
|
Loading…
Reference in New Issue
Block a user