[LLVMdev] link modules segfault

Andreas Donig adonig at gmx.de
Sat Nov 26 08:24:09 PST 2011


Hello everybody,

I'm trying to write a basic block pass linking the module to another module during the pass initialization.

Currently my pass initialization code looks like this:

http://paste.pocoo.org/show/r3fo6FSbE7jR2H5wDId6/

But now I'm getting a strange segmentation fault:

http://paste.pocoo.org/show/n3PImkRCyUWlsMPP9CGu/

Am I doing something wrong?

Best Regards
Andreas



More information about the llvm-dev mailing list