[Bug debug/65822] [4.8/4.9/5/6 Regression] Used variant fun names in dwarf info for CTORs

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 21 05:57:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65822

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
            Summary|[4.8.2 regression] Used     |[4.8/4.9/5/6 Regression]
                   |variant fun names in dwarf  |Used variant fun names in
                   |info for CTORs              |dwarf info for CTORs

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The C1 and C2 don't stand for CTORs and variant CTORs, but for complete object
constructor and base object constructor.  If the compiler chooses them to emit
them as aliases (because they are the same), you only get one of them in the
debug info, emitting both the same way would just severely bloat the debug
info, unless there is a way to represent the aliases without duplication. 
Dunno if e.g. a DW_TAG_subprogram
with DW_AT_name/DW_AT_linkage_name and just DW_AT_abstract_origin on the alias
and nothing else would do the job.



More information about the Gcc-bugs mailing list