search for: callgraphlinkvar

Displaying 10 results from an estimated 10 matches for "callgraphlinkvar".

2008 Aug 21
2
[LLVMdev] Call Graph Analysis
Hi, I have made my optimization as an extension of ModulePass as suggested in last mail. I included "addRequired<CallGraph>" in getAnalysisUsage function. The application compiles fine but while linking, I get following errors: "undefined reference to llvm::CallGraphLinkVar" "undefined reference to llvm::CallGraph::ID The above error is at point where I refer to individual instruction. I followed the conventions used in GlobalModRefPass, which is also an extension of ModulePass. Is there any other convention which needs to be followed? Thanks --Kapil On...
2008 Aug 22
0
[LLVMdev] Call Graph Analysis
...made my optimization as an extension of ModulePass as > suggested in last mail. I included "addRequired<CallGraph>" in > getAnalysisUsage function. > The application compiles fine but while linking, I get following > errors: > "undefined reference to llvm::CallGraphLinkVar" > "undefined reference to llvm::CallGraph::ID > > The above error is at point where I refer to individual instruction. > I followed the conventions used in GlobalModRefPass, which is also > an extension of ModulePass. Is there any other convention which > needs to...
2008 Dec 18
0
[LLVMdev] Troubles with clang and llvm libraries and simple Xcode project
...BinaryOperator ... typeinfo for llvm::AliasAnalysis llvm::ConstantFoldCall(llvm::Function*, llvm::Constant* const*, unsigned int) llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::TargetData const*) llvm::ConstantFoldLoadThroughGEPConstantExpr(llvm::Constant*, llvm::ConstantExpr*) llvm::CallGraphLinkVar llvm::CallGraphSCCPass::assignPassManager(llvm::PMStack&, llvm::PassManagerType) vtable for llvm::CallGraphSCCPass ... and so on, then: ... /usr/local/lib/libclangCodeGen.a(ModuleBuilder.o) reference to undefined clang::ASTConsumer::InitializeTU(clang::TranslationUnit&) /usr/local/lib/l...
2008 Aug 20
0
[LLVMdev] Call Graph Analysis
On Wed, Aug 20, 2008 at 9:47 AM, kapil anand <kapilanand2 at gmail.com> wrote: > Hi, > > I have been working on implementing new analysis for a LLVM module. For > that, I need that Call Graph of the module. Inside the CallGraph file, the > constructor has been declared "protected" hence I can't define its instance > and thus use the CallGraph for further
2008 Aug 22
1
[LLVMdev] Call Graph Analysis
...n as an extension of ModulePass as > > suggested in last mail. I included "addRequired<CallGraph>" in > > getAnalysisUsage function. > > The application compiles fine but while linking, I get following > > errors: > > "undefined reference to llvm::CallGraphLinkVar" > > "undefined reference to llvm::CallGraph::ID > > > > The above error is at point where I refer to individual instruction. > > I followed the conventions used in GlobalModRefPass, which is also > > an extension of ModulePass. Is there any other convention...
2008 May 30
0
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
...So you can see what the errors are, in the "tools" section, I start getting pages of lines like these: llvm[2]: Linking Release executable llvm-as (without symbols) c:/Build/llvm-build/tools/opt/Release/AnalysisWrappers.o:AnalysisWrappers.cpp:(.text+0x14a): undefined reference to `llvm::CallGraphLinkVar' c:/Build/llvm-build/tools/opt/Release/AnalysisWrappers.o:AnalysisWrappers.cpp:(.text+0x15c): undefined reference to `llvm::IncludeFile::IncludeFile(void*)' c:/Build/llvm-build/tools/opt/Release/AnalysisWrappers.o:AnalysisWrappers.cpp:(.text+0x1e9): undefined reference to `llvm::RegisterPas...
2008 Aug 20
2
[LLVMdev] Call Graph Analysis
Hi, I have been working on implementing new analysis for a LLVM module. For that, I need that Call Graph of the module. Inside the CallGraph file, the constructor has been declared "protected" hence I can't define its instance and thus use the CallGraph for further analysis. So, what are the ways of building and using Call Graph of a module. Do I need to make my new analysis as
2009 Apr 17
15
[LLVMdev] mingw build problems
...ulePass::~ModulePass()' /home/foad/svn/llvm-project/llvm/trunk/tools/opt/AnalysisWrappers.cpp:32: undefined reference to `llvm::ModulePass::~ModulePass()' /home/foad/llvm/objdir-mingw/tools/opt/Debug/AnalysisWrappers.o:AnalysisWrappers.cpp:(.debug_info+0x1ba6): undefined reference to `llvm::CallGraphLinkVar' ... The attached patch makes GenLibDeps.pl notice that nm has failed, so that the build fails immediately rather than giving more obscure errors later on. Thanks, Jay. -------------- next part -------------- A non-text attachment was scrubbed... Name: patch.die Type: application/octet-stream...
2009 Aug 06
3
[LLVMdev] Problems building on Msys/MingW
...s/opt' llvm[2]: Linking Debug executable opt C:/msys/1.0/home/llvm/tools/opt/Debug/AnalysisWrappers.o: In function `ZN49_GLOBAL__N_AnalysisWrappers.cpp_DD76033A_F5DF9E8F16CallGraphPrinterD1Ev': C:/msys/1.0/home/llvm/tools/opt/AnalysisWrappers.cpp:(.rdata+0xb0): undefined reference to `llvm::CallGraphLinkVar' C:/msys/1.0/home/llvm/tools/opt/AnalysisWrappers.cpp:(.text$_ZN4llvm8PassInfoC2EPKcS2_iPFPNS_4PassEvEbb[llvm::PassInfo::PassInfo(char const*, char const*, int, llvm::Pass* (*)(), bool, bool)]+0xea): undefined reference to `llvm::PassInfo::registerPass()' C:/msys/1.0/home/llvm/tools/opt/Ana...
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
...rallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createSimplifyLibCallsPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createLoopDependenceAnalysisPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::CallGraphLinkVar /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/AnalysisWrappers.o llvm::createFunctionInliningPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createFunctionInliningPass(int) /n/fs/scratch/tpondich/ParallelAssert/llvm-object...