[all-commits] [llvm/llvm-project] fc4f1e: [DebugInfo][AsmPrinter] Don't emit accelerator ent...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Tue Jun 27 05:41:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc4f1efb6a05c8a475457260dd3b2143f5e19f68
      https://github.com/llvm/llvm-project/commit/fc4f1efb6a05c8a475457260dd3b2143f5e19f68
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    A llvm/test/DebugInfo/Generic/debug-names-nameless-var.ll

  Log Message:
  -----------
  [DebugInfo][AsmPrinter] Don't emit accelerator entries with empty names

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.

Differential Revision: https://reviews.llvm.org/D153809




More information about the All-commits mailing list