Displaying 2 results from an estimated 2 matches for "mymemdepprint".
Did you mean:
mymemdepprinter
2013 Jan 24
1
[LLVMdev] llvm pass INITIALIZE
...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&)’ should have been
declared inside ‘llvm’
MyMemDepPrinter.cpp:104:4...
2013 Jan 16
1
[LLVMdev] llvm print-memdeps segfault
I used LLVM already existent passes with no problems till I tried to use
MemDepPrinter.cpp :
http://llvm.org/doxygen/MemDepPrinter_8cpp_source.html. I got the
following segfault:
llvm[0]: Compiling MyMemDepPrinter.cpp for Release+Asserts build (PIC)
llvm[0]: Linking Release+Asserts Loadable Module MyMemDepPrinter.so
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
ca...