[llvm-dev] gdb debug llvm pass

李阳 via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 11 06:46:28 PDT 2016

Hi all,

Since my pass doesn't work right, I follow the guide [Writing an LLVM Pass:
Using GDB with dynamically loaded passes] to debug my pass.

However, I succeed to meet the step: the *opt* stops in the
PassManager::run method,
I have no idea about setting breakpoints in my pass.These section is not
detailed. Could anyone spare some guide?

Thanks very much!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160711/d377e5fd/attachment.html>

More information about the llvm-dev mailing list