The DWARF 5 specification says that:
All other debugging information entries without a DW_AT_name attribute are
excluded.
Clang started generating these variables for string literals, see D123534.
Paths
| Differential D153809
[DebugInfo][AsmPrinter] Don't emit accelerator entries with empty names ClosedPublic Authored by fdeazeve on Jun 26 2023, 1:13 PM.
Details
Summary The DWARF 5 specification says that:
Clang started generating these variables for string literals, see D123534.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 26 2023, 2:22 PM Closed by commit rGfc4f1efb6a05: [DebugInfo][AsmPrinter] Don't emit accelerator entries with empty names (authored by fdeazeve). · Explain WhyJun 27 2023, 5:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 534933 llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/DebugInfo/Generic/debug-names-nameless-var.ll
|