[llvm-dev] [GSoC] First draft project proposal; IR level interpreter debugger

Tobias Grosser via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 25 04:45:41 PDT 2016


On 03/25/2016 03:28 AM, Philip Reames via llvm-dev wrote:
> I've scanned over your proposal, but am not quite sure I understand your
> objective.  Is your intent to be able to step through IR source in a
> debugger and inspect intermediate state?  If so, you may consider
> whether "simply" inserting debug metatadata into your IR which describes
> the IR source, and then compiling it gives you your desired result.

A pass that does precisely this has been contributed by someone from 
Intel at some point but got removed later on for reasons I don't recall.
It might be worth to scan the archives.

Tobias


More information about the llvm-dev mailing list