[LLVMdev] [PROPOSAL] Attach debugging information with LLVM instruction

Devang Patel devang.patel at gmail.com
Thu Sep 10 14:52:11 PDT 2009


On Thu, Sep 10, 2009 at 1:14 PM, Chris Lattner <clattner at apple.com> wrote:

>>  ...
>>  store i32 42, i32* %i, dbg metadata !7
>>  store i32 1, i32* %j.addr, dbg metadata !8
>>  br label %if.end, dbg metadata !8
>>  ...
>
> Instead of 'dbg metadata !7', is it sufficient to have 'dbg !7'?

It is! In fact, that's what my prototype does.
-
Devang




More information about the llvm-dev mailing list