search for: isanalysisgroup

Displaying 3 results from an estimated 3 matches for "isanalysisgroup".

Did you mean: analysisgroup
2011 May 04
0
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
Hi Michael, hi Duncan, yesterday I stumbled over something that might be related. At least I could also just be doing some initialization wrong or something in this direction... In my case, I hit a segfault in PassInfo::isAnalysisGroup() after PassManager.add(myModulePass) is called. My setup seems fairly simple, the attached code should reproduce the error. Compile with g++ test.cpp `llvm-config --cxxflags --ldflags --libs all` -o test gdb --args ./test prints the following stack trace: #0 0x00000000004e35ba in llvm::PassIn...
2011 May 04
1
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
...Karrenberg <Chareos at gmx.de> wrote: > Hi Michael, hi Duncan, > > yesterday I stumbled over something that might be related. > At least I could also just be doing some initialization wrong or something > in this direction... > > In my case, I hit a segfault in PassInfo::isAnalysisGroup() after > PassManager.add(myModulePass) is called. > My setup seems fairly simple, the attached code should reproduce the error. > > Compile with > g++ test.cpp `llvm-config --cxxflags --ldflags --libs all` -o test > > gdb --args ./test > prints the following stack trace: &g...
2011 May 04
2
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
Thanks for the response. I do have assertions enabled, and none of them are getting hit. I did do a search of the mailing list for the past year (approximately) before writing my email, and what I found was that you should be allowed to use LoopInfo and other analysis function passes from a module pass, with the only difference being that getAnalysis is passed the function. The example code I