[all-commits] [llvm/llvm-project] ee6919: [DwarfDebug] Support emitting function-local decla...

chbessonova via All-commits all-commits at lists.llvm.org
Sat Dec 4 07:13:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee691970a9a85470948ada623c31f0ab8773617c
      https://github.com/llvm/llvm-project/commit/ee691970a9a85470948ada623c31f0ab8773617c
  Author: Kristina Bessonova <kbessonova at accesssoftek.com>
  Date:   2021-12-04 (Sat, 04 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
    A llvm/test/DebugInfo/Generic/import-inlined-declaration.ll
    M llvm/test/DebugInfo/Generic/imported-name-inlined.ll
    A llvm/test/DebugInfo/Generic/inlined-local-type.ll
    A llvm/test/DebugInfo/Generic/inlined-static-var.ll
    A llvm/test/DebugInfo/Generic/lexical_block_static.ll
    A llvm/test/DebugInfo/Generic/lexical_block_types.ll
    M llvm/test/DebugInfo/Generic/namespace.ll

  Log Message:
  -----------
  [DwarfDebug] Support emitting function-local declaration for a lexical block

This is another attempt to make function-local declarations
(like static variables, structs/classes and other) be correctly
emitted within a lexical (bracketed) block.

Fixes https://bugs.llvm.org/show_bug.cgi?id=19238.

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




More information about the All-commits mailing list