<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 22, 2013 at 11:52 AM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Naming is hard, but I'd rather this not be in the Dwarf file and<br>
rather in the IR files since this is entirely an IR thing and not<br>
related to any actual dwarf constant at all.<br></blockquote><div><br></div><div>Fair point. Any suggestion on where to put the constant?</div><div><br></div><div>Manman</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
DEBUG_METADATA_VERSION might be a better name.<br>
<span class="HOEnZb"><font color="#888888"><br>
-eric<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, Nov 22, 2013 at 11:41 AM, Manman Ren <<a href="mailto:manman.ren@gmail.com">manman.ren@gmail.com</a>> wrote:<br>
> Author: mren<br>
> Date: Fri Nov 22 13:41:59 2013<br>
> New Revision: 195494<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=195494&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=195494&view=rev</a><br>
> Log:<br>
> Debug Info: add a constant for debug info version number.<br>
><br>
> This will be used to output the debug info version number as a module flag.<br>
><br>
> Modified:<br>
>     llvm/trunk/include/llvm/Support/Dwarf.h<br>
><br>
> Modified: llvm/trunk/include/llvm/Support/Dwarf.h<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Dwarf.h?rev=195494&r1=195493&r2=195494&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Dwarf.h?rev=195494&r1=195493&r2=195494&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/include/llvm/Support/Dwarf.h (original)<br>
> +++ llvm/trunk/include/llvm/Support/Dwarf.h Fri Nov 22 13:41:59 2013<br>
> @@ -57,6 +57,7 @@ enum LLVMConstants LLVM_ENUM_INT_TYPE(ui<br>
>    DW_TAG_user_base = 0x1000, // Recommended base for user tags.<br>
><br>
>    DWARF_VERSION = 4,       // Default dwarf version we output.<br>
> +  DEBUG_INFO_VERSION = 1,  // Current debug info version number.<br>
>    DW_CIE_VERSION = 1,      // Common frame information version.<br>
>    DW_PUBTYPES_VERSION = 2, // Section version number for .debug_pubtypes.<br>
>    DW_PUBNAMES_VERSION = 2, // Section version number for .debug_pubnames.<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>