Displaying 1 result from an estimated 1 matches for "_z9deadcode1i".
2013 Jan 16
1
[LLVMdev] llvm print-memdeps segfault
...elease+Asserts/lib/MyMemDepPrinter.so -print-memdeps
//home/alex/llvm/tools/clang/woRKSPACE/Test.bc
1. Running pass 'Function Pass Manager' on module
'//home/alex/llvm/tools/clang/woRKSPACE/Test.bc'.
2. Running pass 'Print MemDeps of function' on function
'@_Z9deadcode1i'
./run.sh: line 14: 3326 Segmentation fault (core dumped)
//home/alex/llvm/Release+Asserts/bin/opt -load
//home/alex/llvm/Release+Asserts/lib/MyMemDepPrinter.so -print-memdeps
//home/alex/llvm/tools/clang/woRKSPACE/Test.bc
I got segfaults only for my own passes, but not LLVM's al...