<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 22, 2013 at 1:16 PM, 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"><div class="im">On Fri, Nov 22, 2013 at 12:08 PM, Manman Ren <<a href="mailto:manman.ren@gmail.com">manman.ren@gmail.com</a>> wrote:<br>

><br>
><br>
><br>
> On Fri, Nov 22, 2013 at 11:52 AM, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>><br>
> wrote:<br>
>><br>
>> 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>
><br>
><br>
> Fair point. Any suggestion on where to put the constant?<br>
><br>
<br>
</div>include/llvm/Metadata.h?<br></blockquote><div><br></div><div>I am okay with Metadata.h. But how about include/llvm/DebugInfo.h?</div><div>I feel like that we should put debug-info specific things in DebugInfo.h.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
-eric<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> Manman<br>
><br>
>><br>
>><br>
>> DEBUG_METADATA_VERSION might be a better name.<br></div></div></blockquote><div><br></div><div>Yes, will do.</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">
<div class="HOEnZb"><div class="h5">
>><br>
>> -eric<br>
>><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<br>
>> > flag.<br>
>> ><br>
>> > Modified:<br>
>> >     llvm/trunk/include/llvm/Support/Dwarf.h<br>
>> ><br>
>> > Modified: llvm/trunk/include/llvm/Support/Dwarf.h<br>
>> > URL:<br>
>> > <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>
>> > ==============================================================================<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<br>
>> > .debug_pubtypes.<br>
>> >    DW_PUBNAMES_VERSION = 2, // Section version number for<br>
>> > .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>
><br>
><br>
</div></div></blockquote></div><br></div></div>