[LLVMdev] Metadata

Garrison Venn gvenn.cfe.dev at gmail.com
Thu Feb 11 14:31:16 PST 2010

I don't think the lang ref metadata grammar section (http://llvm.org/docs/LangRef.html#metadata) has been fully updated 
with how !dbg metadata is used in http://llvm.org/docs/SourceLevelDebugging.html. At least to me it is not clear. In my
mind I translate the phrase "LLVM IR allows metadata to be attached to instructions " into a grammar depicted in 
SourceLevelDebugging.html. I was going to ask about this, but I'll let you instead. :-)


On Feb 11, 2010, at 16:42, David Greene wrote:

> On Thursday 11 February 2010 14:56:16 Chris Lattner wrote:
>>> I give up!  What is the syntax for attaching metadata to instructions? 
>>> The documentation is very unclear.
>> Some examples are in llvm/test/Feature/md_on_instruction.ll
>> Or you could just compile a file with -g.
> But neither of these explains what the grammar is.  It looks like gibberish to 
> me...
>                                           -Dave
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list