[llvm] r198389 - Revert "Reverting r193835 due to weirdness with Go..."

Dimitry Andric dimitry at andric.com
Sat Jan 4 08:30:49 PST 2014


On 03 Jan 2014, at 19:26, dblaikie at gmail.com wrote:
> 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.
> 
> 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:
> 
> echo "int main(void) { return 0; }" | clang-tot -gdwarf-2 -S -x c - -o - 
> 
>         .byte   16                      # DW_AT_stmt_list
>         .byte   6                       # DW_FORM_data4
> 
> And the code in LLVM looks like it does the right thing here, choosing the form based on DWARF version.

Indeed, this was fixed on trunk by Eric Christopher here:

http://llvm.org/viewvc/llvm-project?view=revision&revision=195391

Minus all the formatting changes in these files, I think I can backport that to my 3.4 release branch... :)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140104/4687e89e/attachment.sig>


More information about the llvm-commits mailing list