<div dir="ltr">On Mon, Aug 12, 2013 at 8:20 PM, Alexandros Tzannes <span dir="ltr"><<a href="mailto:atzannes@illinois.edu" target="_blank">atzannes@illinois.edu</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
I am trying to debug a strange behavior of the RecursiveASTVisiror, and trying to use gdb with the Debug+Assert binary of clang++. Unfortunately, because so much of the code of RecursiveASTVisitor is macro-expanded and because the debug symbols are trying to relate to the "non-expanded" code navigating an execution with gdb is pretty useless.<br>
<br>
Has anyone encountered this issue in the past and has any advice on how to debug RecursiveASTVisitor?<br></blockquote><div><br></div><div>I've so far used:</div><div>llvm::outs() << ...</div><div>plus unit tests...</div>
<div><br></div><div>Cheers,</div><div>/Manuel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers!<br>
Alex<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div>