[all-commits] [llvm/llvm-project] 62a6b9: Revert "[DwarfDebug] Support emitting function-loc...

David Blaikie via All-commits all-commits at lists.llvm.org
Wed Dec 22 15:27:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62a6b9e9ab3eb778111e90a34fee1e6a7c64db8a
      https://github.com/llvm/llvm-project/commit/62a6b9e9ab3eb778111e90a34fee1e6a7c64db8a
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
    R llvm/test/DebugInfo/Generic/import-inlined-declaration.ll
    M llvm/test/DebugInfo/Generic/imported-name-inlined.ll
    R llvm/test/DebugInfo/Generic/inlined-local-type.ll
    R llvm/test/DebugInfo/Generic/inlined-static-var.ll
    R llvm/test/DebugInfo/Generic/lexical_block_static.ll
    R llvm/test/DebugInfo/Generic/lexical_block_types.ll
    M llvm/test/DebugInfo/Generic/namespace.ll

  Log Message:
  -----------
  Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches

This patch causes invalid DWARF to be generated in some cases of LTO +
Split DWARF - follow-up on the original review thread (D113741) contains
further detail and test cases.

This reverts commit 75b622a7959479ccdb758ebe0973061b7b4fcacd.
This reverts commit b6ccca217c35a95b8c2a337a7801b37cb23dbae2.
This reverts commit 514d37441918dd04a2cd4f35c08959d7c3ff096d.




More information about the All-commits mailing list