diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2010-11-13 12:50:37 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2010-11-13 12:50:37 +0000 |
commit | a99291e49112eb7f2a8a39beef4a55b78e4c5141 (patch) | |
tree | 35512607cf06e5b5845e20b30e999f543e51cf78 /gcc/objc/objc-act.c | |
parent | d0f20be4d0ca67fa82f1060bd97b5b2f3b81f3ec (diff) | |
download | gcc-a99291e49112eb7f2a8a39beef4a55b78e4c5141.zip gcc-a99291e49112eb7f2a8a39beef4a55b78e4c5141.tar.gz gcc-a99291e49112eb7f2a8a39beef4a55b78e4c5141.tar.bz2 |
don't emit debug sections until they are required
gcc:
* dwarf2out.c (macinfo_entry): New struct.
(output_comp_unit): Emit the section start label here and flag that we
will emit an info section.
(dwarf2out_start_source_file): Save data in a macinfo entry rather than
emitting directly.
(dwarf2out_end_source_file): Likewise.
(dwarf2out_define): Likewise.
(dwarf2out_undef): Likewise.
(output_macinfo): New.
(dwarf2out_init): Do not emit debug section switches here, allocate a
vec for macinfo, when required.
(dwarf2out_finish): First switch to debug_abbrev_section here.
debug_line_section, debug_macinfo_section, Likewise.
Check that the pubtypes table has at least one unpruned entry before
trying to emit it.
From-SVN: r166704
Diffstat (limited to 'gcc/objc/objc-act.c')
0 files changed, 0 insertions, 0 deletions