[Bug debug/63572] [5 Regression] ICF breaks user debugging experience

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 9 15:43:00 GMT 2015


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

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
As Cary Countant wrote me, gold's ICF has never implemented support for call
site tables in GDB. Moreover, when Jakub designed the new call site tags, the
design hasn't been changed. In last 4 years, there still hasn't been any demand
for it.

Well, I would at least implement emission of a separate DW_TAG_subprogram DIE
with correct DW_AT_abstract_origin. As I have no experience with debug info,
may I ask Jakub for a hint where to start and how to properly do it?


More information about the Gcc-bugs mailing list