UPDATE:<br><br>I used LLVM already existent passes with no problems till I tried to use MemDepPrinter.cpp : <a href="http://llvm.org/doxygen/MemDepPrinter_8cpp_source.html">http://llvm.org/doxygen/MemDepPrinter_8cpp_source.html</a> . I got the segfault mentioned in the previous email.<br>
<br>As an update, the line problem is :<br><br> MDA.getNonLocalPointerDependency(Loc, true, LI->getParent(), NLDI);<br><br>and not the 4 arguments are the problem. All of them are defined and I can use them. I don't have the segfault if I eliminate the line.<br>
<br>I think the problem is defined in a comment :<br><br> FIXME: Handle atomic/volatile loads.<br><br>Please tell me how can I solve the problem (maybe put a condition to avoid atomic/volatile loads) or if the pass works fine for you and if so, how you use it. <br>
<br>Thank you !<br><br><br>