[llvm-dev] LLVM IR Debugger

Siddharth Bhat via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 3 21:32:11 PST 2018


You can attach debug info to the Llvm module about LLVM IR, at which point
one can throw the executable into any debugger and get llvm level debugging.

I've started a patch to revive this feature (DebugIR pass). I've been
sidetracked the past month, but I'll come back to it soon :)
https://reviews.llvm.org/D40778

Cheers,
Siddharth

On Thu 4 Jan, 2018, 09:23 Brenda So via llvm-dev, <llvm-dev at lists.llvm.org>
wrote:

> Hi
>
> I am looking at open projects that LLVM want to implement and it seems to
> be a suggestion to write an LLVM IR level debugger. Is there any existing
> LLVM projects out there that already does such a thing? If not, I would
> like to try implementing one myself.
>
> By debugger, I think it means something like gdb, where you can insert
> breakpoints, run code and observe layout of registers and memory at certain
> periods of time.
>
> If anyone has suggestions as to how this IR debugger should work please
> let me know.
>
> Thanks!
> Brenda
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-- 
Sending this from my phone, please excuse any typos!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180104/fb883729/attachment.html>


More information about the llvm-dev mailing list