[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:41:11 PST 2024


clayborg wrote:

I am fine with `-glldb` doing the right thing for LLDB. 

That being said, I don't believe that LLDB or GDB use `.debug_pubnames` or `.debug_pubtypes` as they are incomplete and can't be relied upon. So I would say we should never emit these tables unless these older GNU tables unless the user explicitly asks for them.

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


More information about the cfe-commits mailing list