symbolic icon indicating copy to clipboard operation
symbolic copied to clipboard

Missing inlinee function names

Open gabrielesvelto opened this issue 3 years ago • 3 comments

Environment

symbolic-debuginfo 9.1.4

Steps to Reproduce

Grab the following two files:

Open them via symbolic-debuginfo, in my case I'm using the last version of dump_syms to dump the debug information.

Expected Result

The inlinees in all the functions which have them should have a name.

Actual Result

All the inlinees have empty names

I'm not sure if this is a bug in symbolic or the debug info is broken, either way it's odd to have an empty name in these functions.

gabrielesvelto avatar Sep 21 '22 15:09 gabrielesvelto

Digging a bit more into it I think that the entries for the inlinees in the DWARF debug info use DW_FORM_GNU_strp_alt forms for the names which means that the actual string should live in an external file IIRC.

gabrielesvelto avatar Sep 21 '22 15:09 gabrielesvelto

So the .debug file has a .gnu_debugaltlink section which points to this file: gcc-12.2.1-2.fc36.x86_64. To the best of my knowledge there's no way in Symbolic to create a debug session that fetches data both from libgcc_s-12-20220819.so.1-12.2.1-2.fc36.x86_64.debug and from it, or I'm missing something?

gabrielesvelto avatar Sep 22 '22 07:09 gabrielesvelto

Yes, I don’t think that would be possible right now.

Swatinem avatar Sep 28 '22 14:09 Swatinem

This issue is stale. Closing. Please reopen if necessary.

jernejstrasner avatar Dec 06 '23 18:12 jernejstrasner