[LLVMdev] [PROPOSAL] Attach debugging information with LLVM instruction
David Greene
dag at cray.com
Fri Sep 11 14:57:35 PDT 2009
On Thursday 10 September 2009 12:48, Devang Patel wrote:
> !1 = metadata !{i32 458769, i32 0, i32 12, metadata !"foo.c", metadata
> !"/tmp", metadata !"clang 1.0", i1 true, i1 false, metadata !"", i32
> 0}
> !7 = metadata !{i32 5, i32 5, metadata !1, metadata !1}
> !8 = metadata !{i32 6, i32 5, metadata !1, metadata !1}
>
> ...
> store i32 42, i32* %i, dbg metadata !7
> store i32 1, i32* %j.addr, dbg metadata !8
> br label %if.end, dbg metadata !8
> ...
Hooray! I like this and the suggestions others have brought forward to
enhance it.
-Dave
More information about the llvm-dev
mailing list