]> gcc.gnu.org Git - gcc.git/commit
Remove skeleton type units that were being produced with -gsplit-dwarf.
authorCary Coutant <ccoutant@google.com>
Fri, 8 Aug 2014 20:33:26 +0000 (20:33 +0000)
committerCary Coutant <ccoutant@gcc.gnu.org>
Fri, 8 Aug 2014 20:33:26 +0000 (13:33 -0700)
commit4dd7c3b285daf030da0ff9c0d5e2f79b24943d1e
treea47e0373c2817eb387d22c840843694fabd422fc
parenta6b0c7bc4508a17fcd969080b9e721f4dcd5c305
Remove skeleton type units that were being produced with -gsplit-dwarf.

These sections were originally intended as targets for .gdb_index
entries that needed to point to type units.  Because of the limitations
of the .debug_gnu_pubnames/pubtypes sections with split DWARF, we were
not able to pass along enough information to the gold linker to generate
those index entries properly, and they had to point to the CU instead.
GDB had to deal with that, and was updated a while ago to no longer
depend on the skeleton TU sections at all. This allows us to reduce
object file sizes with split DWARF by about 30%.

gcc/
* dwarf2out.c (get_skeleton_type_unit): Remove.
(output_skeleton_debug_sections): Remove skeleton type units.
(output_comdat_type_unit): Likewise.
(dwarf2out_finish): Likewise.

From-SVN: r213765
gcc/ChangeLog
gcc/dwarf2out.c
This page took 0.069864 seconds and 5 git commands to generate.