[llvm-dev] Pass segmentation fault after llvm_shutdown.
Simone Atzeni via llvm-dev
llvm-dev at lists.llvm.org
Mon May 14 22:06:38 PDT 2018
Hi all,
I was porting my pass from LLVM 4.0 to 6.0 and I am getting a segmentation
fault.
I was able to obtain only the info below from GDB.
I tried to debug with some printf and the runOnFunction runs correctly.
Any idea/suggestion about what is going on?
The source code of the pass is here:
https://github.com/PRUNERS/sword/blob/master/lib/Sword.cpp
Any help is much appreciated,
Thanks!
Simone
#0 0x00007f1d93735170 in ?? ()
#1 0x00000000017d2b96 in
llvm::object_deleter<llvm::SmallVector<std::pair<llvm::PassManagerBuilder::ExtensionPointTy,
std::function<void (llvm::PassManagerBuilder const&,
llvm::legacy::PassManagerBase&)> >, 8u> >::call(void*) ()
#2 0x0000000001b0e5e9 in llvm::llvm_shutdown() ()
#3 0x00000000008d8077 in main ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180514/0771d8c5/attachment.html>
More information about the llvm-dev
mailing list