[cfe-commits] r108617 - in /cfe/trunk: examples/wpa/clang-wpa.cpp include/clang/Analysis/AnalysisContext.h include/clang/Analysis/ProgramPoint.h include/clang/Checker/PathSensitive/AnalysisManager.h include/clang/Checker/PathSensitive/GRCoreEngine.h lib/Analysis/AnalysisContext.cpp lib/Checker/AnalysisConsumer.cpp lib/Checker/CMakeLists.txt lib/Checker/CallInliner.cpp lib/Checker/GRCXXExprEngine.cpp lib/Checker/GRCoreEngine.cpp lib/Checker/GRExprEngine.cpp tools/driver/Makefile

Benjamin Kramer benny.kra at googlemail.com
Sat Jul 17 05:39:25 PDT 2010


On 17.07.2010, at 13:12, Zhongxing Xu wrote:

> Author: zhongxingxu
> Date: Sat Jul 17 06:12:42 2010
> New Revision: 108617
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=108617&view=rev
> Log:
> Prepare the analyzer for the callee in another translation unit:
>  Let AnalysisContext contain a TranslationUnit.
>  Let CallEnter refer to an AnalysisContext instead of a FunctionDecl.

Linking clang now fails with
Undefined symbols:
  "clang::AnalysisManager::getAnalysisContextInAnotherTU(clang::Decl const*)", referenced from:
      clang::GRExprEngine::InlineCall(clang::ExplodedNodeSet&, clang::CallExpr const*, clang::ExplodedNode*)in libclangChecker.a(GRExprEngine.o)
ld: symbol(s) not found

Looks like you missed to svn add the file containing getAnalysisContextInAnotherTU.



More information about the cfe-commits mailing list