https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112726
--- Comment #1 from Giuliano Procida ---
Much of the initial report can be ignored, `llvm-dwarfdump` is buggy for DWARF
5 before version 15.
Here's a much simpler statement:
gcc -gdwarf-5 -fdebug-prefix-map=$(pwd)= -c foo.c is broken and the p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112726
Bug ID: 112726
Summary: Sometimes incorrect DW_AT_decl_file with -gdwarf-5 and
-fdebug-prefix-map
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111788
--- Comment #4 from Giuliano Procida ---
Also worth noting that while Clang gives virtual table entries (for struct X)
this type in DWARF:
int(** _vptr.X)(...)
GCC gives them this type:
int(** _vptr$X)()
The different member names are an unf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112372
--- Comment #4 from Giuliano Procida ---
The provided example was exactly my original test case.
It's part of our test suite for
https://android.googlesource.com/platform/external/stg/.
I'm currently running multiple versions of GCC and Clang
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112372
--- Comment #2 from Giuliano Procida ---
The symbols are not aliased (which is what I thought might have happened with
very aggressive optimisations). If they had been aliased, it would be much
harder to give the symbols types.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112372
Bug ID: 112372
Summary: GCC omits function location in DWARF at higher
optimisation levels
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111788
--- Comment #3 from Giuliano Procida ---
https://en.cppreference.com/w/cpp/language/variadic_arguments (see introduction
and Notes)
It's been allowed for longer than in C, but there is no portable way of
accessing the arguments.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111788
Bug ID: 111788
Summary: g++ DWARF for void foo(...) missing unspecified
parameters DIE
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111735
Bug ID: 111735
Summary: incorrect BTF representation of forward-declared enums
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Co