Reland "[DebugMetadata][DwarfDebug] Support function-local types in lexical block...
authorVladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com>
Mon, 19 Jun 2023 14:42:05 +0000 (16:42 +0200)
committerVladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com>
Mon, 19 Jun 2023 17:50:46 +0000 (19:50 +0200)
commit2da45172c4bcd42f704c57c656926f56f32fc5ce
treee52608ded87649e2466f35f2b91e75804d22a23a
parent3350ec9b3e9323b31c475b206aec7318d2cb709f
Reland "[DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7)"

Test "local-type-as-template-parameter.ll" now requires linux-system.

Authored-by: Kristina Bessonova <kbessonova@accesssoftek.com>
Differential Revision: https://reviews.llvm.org/D144006

Depends on D144005
26 files changed:
clang/test/CodeGen/debug-info-codeview-unnamed.c
clang/test/CodeGen/debug-info-unused-types.c
clang/test/CodeGen/debug-info-unused-types.cpp
clang/test/CodeGenCXX/debug-info-access.cpp
clang/test/CodeGenCXX/debug-info-anon-union-vars.cpp
clang/test/CodeGenCXX/debug-info-codeview-unnamed.cpp
clang/test/CodeGenCXX/debug-info-gline-tables-only-codeview.cpp
clang/test/CodeGenCXX/debug-lambda-this.cpp
llvm/include/llvm/IR/DIBuilder.h
llvm/lib/Bitcode/Reader/MetadataLoader.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/IR/DIBuilder.cpp
llvm/lib/IR/Verifier.cpp
llvm/test/Bitcode/upgrade-cu-locals.ll
llvm/test/Bitcode/upgrade-cu-locals.ll.bc
llvm/test/DebugInfo/Generic/inlined-local-type.ll [new file with mode: 0644]
llvm/test/DebugInfo/Generic/lexical-block-retained-types.ll [new file with mode: 0644]
llvm/test/DebugInfo/Generic/lexical-block-types.ll [new file with mode: 0644]
llvm/test/DebugInfo/Generic/local-type-as-template-parameter.ll [new file with mode: 0644]
llvm/test/DebugInfo/Generic/verifier-invalid-disubprogram.ll
llvm/test/DebugInfo/X86/set.ll
llvm/test/DebugInfo/X86/split-dwarf-local-import.ll [moved from llvm/test/DebugInfo/Generic/split-dwarf-local-import.ll with 98% similarity]
llvm/test/DebugInfo/X86/split-dwarf-local-import2.ll [moved from llvm/test/DebugInfo/Generic/split-dwarf-local-import2.ll with 98% similarity]
llvm/test/DebugInfo/X86/split-dwarf-local-import3.ll [moved from llvm/test/DebugInfo/Generic/split-dwarf-local-import3.ll with 100% similarity]