[LLVMdev] DEBUG INFO at the bytecode level
Török Edwin
edwintorok at gmail.com
Tue May 18 03:30:07 PDT 2010
On 05/18/2010 01:26 PM, Zheng Wang wrote:
> Hello,
>
> Could I get some debug info at the byte code level? I am writing a
> passer and if will be nice if I can know which line in the source an
> instruction (or value) corresponds to.
>
> I found a document online:
> http://llvm.org/docs/SourceLevelDebugging.html, but I can't find an
> example of doing it at the byte code level.
-print-dbginfo should print the source lines, at least the one in 2.6,
the one in 2.7 seems to have the source line printing removed.
I'll add it back when I get some time.
Best regards,
--Edwin
More information about the llvm-dev
mailing list