search for: passand

Displaying 1 result from an estimated 1 matches for "passand".

Did you mean: passant
2012 Sep 10
2
[LLVMdev] About writing an alias analysis pass for LLVM 3.1
...s occurred: opt: raw_ostream.cpp:261: void llvm::raw_ostream::flush_nonempty(): Assertion `OutBufCur > OutBufStart && "Invalid call to flush_nonempty."' failed. As stated in the documentation I found on LLVM official website, an alias analysis pass should subclass both Passand AliasAnalysisclass. I used GDB for some debugging, and found why the error emerged. By MyAAnote the pass class written by me, and by objnote the instance of MyAA. In the crash scene, When LLVM was trying to call obj.alias, a virtual function of class llvm::AliasAnalysis, it actually called obj...