Should be pretty easy. :)<br><br><div>On Sat Jan 04 2014 at 8:32:33 AM, Dimitry Andric <<a href="mailto:dimitry@andric.com">dimitry@andric.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 03 Jan 2014, at 19:26, <a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a> wrote:<br>
> One caveat is that Eric (& I can't really disagree) would rather like to kill off some of the old DWARF support to keep our codebase simple - so if there's any way you can upgrade those tools to cope with modern DWARF, that'd be really nice.<br>

><br>
> But for the specific issue of stmt_list and sec_offset, so far as I can tell this is not reproducible with ToT Clang/LLVM. I get:<br>
><br>
> echo "int main(void) { return 0; }" | clang-tot -gdwarf-2 -S -x c - -o -<br>
><br>
>         .byte   16                      # DW_AT_stmt_list<br>
>         .byte   6                       # DW_FORM_data4<br>
><br>
> And the code in LLVM looks like it does the right thing here, choosing the form based on DWARF version.<br>
<br>
Indeed, this was fixed on trunk by Eric Christopher here:<br>
<br>
<a href="http://llvm.org/viewvc/llvm-project?view=revision&revision=195391" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project?view=revision&<u></u>revision=195391</a><br>
<br>
Minus all the formatting changes in these files, I think I can backport that to my 3.4 release branch... :)<br>
<br>
-Dimitry<br>
<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">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/<u></u>mailman/listinfo/llvm-commits</a><br>
</blockquote>