llvm/test/Transforms/FunctionImport/Inputs/funcimport_alias.ll
Teresa Johnson 51ec8b2357 [ThinLTO] Handle an external call from an import to an alias in dest
The findExternalCalls routine ignores calls to functions already
defined in the dest module. This was not handling the case where
the definition in the current module is actually an alias to a
function call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257493 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-12 17:48:44 +00:00

8 lines
100 B
LLVM

declare void @analias()
define void @callanalias() #0 {
entry:
call void @analias()
ret void
}