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

Chris Lattner clattner at apple.com
Thu Sep 10 14:10:03 PDT 2009


On Sep 10, 2009, at 1:33 PM, Eric Christopher 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
>> ...
>
> So, if we later wanted to attach some other metadata to an instruction
> it would look something like:
>
> store i32 42, i32* %i, dbg metadata !7, spork !15
>
> or some such? And when you attach the metadata to the instruction how
> do you plan on making it evident as debug as opposed to spork?

yes, I'll send out a proposal to cover this in the next couple days.

-Chris



More information about the llvm-dev mailing list