Displaying 1 result from an estimated 1 matches for "initialize_pass_xxxx".
2013 Jan 24
1
[LLVMdev] llvm pass INITIALIZE
Hello everyone,
Till now I have succesfully running passes using RegisterPass template. I
have encountered a segfault in my pass.
Assertion `AA && "AA didn't call InitializeAliasAnalysis in its run
method!"' failed.
Then, I tried to use INITIALIZE_PASS_XXXX or INITIALIZE_AG_PASS template,
together with `*llvm::createMyMemDepPrinter()` and
`initializeMemDepPrinterPass(*PassRegistry::getPassRegistry())` methods.
Therefore, I got two compilation errors:
MyMemDepPrinter.cpp:101:1: error: ‘void
llvm::initializeMyMemDepPrinterPass(llvm::PassRegistry&am...