This is an archive of the discontinued LLVM Phabricator instance.

[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:

All other debugging information entries without a DW_AT_name attribute are
excluded.

Clang started generating these variables for string literals, see D123534.

Diff Detail

Event Timeline

fdeazeve created this revision.Jun 26 2023, 1:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 1:13 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
fdeazeve requested review of this revision.Jun 26 2023, 1:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 1:13 PM
This revision is now accepted and ready to land.Jun 26 2023, 2:22 PM