[Bug lto/85339] [8 Regression] With early LTO debug the early DWARF misses line-info
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 11 09:32:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85339
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |8.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
With this detailed location info on types one should be able to nearly re-build
a 1:1 source equivalent from debug info - for types ;)
Hunk missing in the patch:
@@ -31045,7 +31046,8 @@ dwarf2out_finish (const char *)
/* Reset die CU symbol so we don't output it twice. */
comp_unit_die ()->die_id.die_symbol = NULL;
- /* Remove DW_AT_macro from the early output. */
+ /* Remove DW_AT_macro and DW_AT_stmt_list from the early output. */
+ remove_AT (comp_unit_die (), DW_AT_stmt_list);
if (have_macinfo)
remove_AT (comp_unit_die (), DEBUG_MACRO_ATTRIBUTE);
More information about the Gcc-bugs
mailing list