<div dir="ltr">Entertainingly we noticed this problem at the DWARF meeting last week and it received about the same number of chuckles. :)<div><br></div><div>-eric</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Oct 29, 2013 at 9:37 AM, Alexey Samsonov <span dir="ltr"><<a href="mailto:samsonov@google.com" target="_blank">samsonov@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div><div class="h5">On Tue, Oct 29, 2013 at 5:06 AM, Timur Iskhodzhanov <span dir="ltr"><<a href="mailto:timurrrr@google.com" target="_blank">timurrrr@google.com</a>></span> wrote:<br>
</div></div><div class="gmail_quote"><div><div class="h5">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[and now to the right Eric's address]<br>
<br>
2013/10/29 Timur Iskhodzhanov <<a href="mailto:timurrrr@google.com" target="_blank">timurrrr@google.com</a>>:<br>
<div><div>> 2012/8/24 Eric Christopher <<a href="mailto:echristo@apple.com" target="_blank">echristo@apple.com</a>>:<br>
>> +++ llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp Thu Aug 23 20:14:23 2012<br>
>> @@ -67,6 +71,10 @@<br>
>> 8, // 0x14 DW_FORM_ref8<br>
>> 0, // 0x15 DW_FORM_ref_udata<br>
>> 0, // 0x16 DW_FORM_indirect<br>
>> + 8, // 0x17 DW_FORM_sec_offset<br>
>> + 0, // 0x18 DW_FORM_exprloc<br>
>> + 0, // 0x19 DW_FORM_flag_present<br>
>> + 8, // 0x20 DW_FORM_ref_sig8<br>
>> };<br>
>><br>
>> const uint8_t *<br>
><br>
> Eric,<br>
> Are you sure it should be 0x20, not 0x1a?<br></div></div></blockquote><div><br></div></div></div><div>This is hilarious. DWARF4 standard indeed specifies 0x20, which is way confusing and means our code was broken.</div>
<div>I've fixed this in r193619. Thanks for noticing this!</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
> --<br>
> Timur<span class="HOEnZb"><font color="#888888"><br>
</font></span></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div>
</font></span></div></div>
</blockquote></div><br></div>