[clang] [CLANG][DWARF] Do not emit -ggnu-pubnames for split dwarf version 5. (PR #82840)

Greg Clayton via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 23 16:47:50 PST 2024


clayborg wrote:

I just noticed the naming difference. I am thinking of the standard older `.debug_pubnames` and `.debug_pubtypes`. Are the `.debug_gnu_pubnames` and `.debug_gnu_pubtypes` more complete and usable by debuggers? If so, then we should use the `-dlldb` to disable these GNU specific pubnames and pubtypes sections. And ensure that `-ggdb` enables these if GDB still uses them and if it doesn't support `.debug_names` very well.

https://github.com/llvm/llvm-project/pull/82840


More information about the cfe-commits mailing list