llvm/test/Linker/Inputs/only-needed-recurse.ll
Rafael Espindola 8b7f4165b2 Fix recursive -only-needed.
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
2016-04-21 14:56:33 +00:00

9 lines
85 B
LLVM

define void @f2() {
call void @f3()
ret void
}
define void @f3() {
ret void
}