mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
8b7f4165b2
We were assuming that only linkonce_odr GVs were lazy linked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266995 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
183 B
LLVM
12 lines
183 B
LLVM
; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-recurse.ll | FileCheck %s
|
|
|
|
declare void @f2()
|
|
|
|
define void @f1() {
|
|
call void @f2()
|
|
ret void
|
|
}
|
|
|
|
; CHECK: define void @f3
|
|
|