Index: lib/Analysis/CFLAliasAnalysis.cpp =================================================================== --- lib/Analysis/CFLAliasAnalysis.cpp +++ lib/Analysis/CFLAliasAnalysis.cpp @@ -368,7 +368,7 @@ } static bool isFunctionExternal(Function *Fn) { - return Fn->isDeclaration() || !Fn->hasLocalLinkage(); + return Fn->isDeclaration() || Fn->isInterposable(); } bool tryInterproceduralAnalysis(CallSite CS,