From 2c20ef506f65f649fd9fb8823f8c7b0086b1ba5c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 8 Dec 2004 21:00:59 +0000 Subject: [PATCH] Properly extern this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18664 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/AliasAnalysis.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp index 0e3f159ac04..a90d80aed5a 100644 --- a/lib/Analysis/AliasAnalysis.cpp +++ b/lib/Analysis/AliasAnalysis.cpp @@ -188,5 +188,7 @@ bool AliasAnalysis::canInstructionRangeModify(const Instruction &I1, // the risk of AliasAnalysis being used, but the default implementation not // being linked into the tool that uses it. // -extern void llvm::BasicAAStub(); +namespace llvm { + extern void BasicAAStub(); +} static IncludeFile INCLUDE_BASICAA_CPP((void*)&BasicAAStub);