[all-commits] [llvm/llvm-project] b05df0: Revert "[DWARF] Fix PR51087 Extraneous enum record...

David Blaikie via All-commits all-commits at lists.llvm.org
Thu Dec 23 20:53:27 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b05df0287bafff65723c3aacfc3a6b43183a9a26
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
    A llvm/test/DebugInfo/Generic/type-units-maybe-unused-types.ll
    R llvm/test/DebugInfo/X86/type-units-maybe-unused-types.ll

  Log Message:
  Revert "[DWARF] Fix PR51087 Extraneous enum record in DWARF with type units"

Causes invalid debug_gnu_pubnames (& I think non-gnu pubnames too) -
visible as 0 values for the offset in gnu pubnames. More details on the
original review in D115325.

This reverts commit 78d15a112cbd545fbb6e1aa37c221ef5aeffb3f2.
This reverts commit 54586582d3e17c0bba76258d2930486a6dfaaf2a.

More information about the All-commits mailing list