[all-commits] [llvm/llvm-project] 1143a0: [DebugInfo][DWARF] Emit DW_AT_abstract_origin for ...
Vladislav Dzhidzhoev via All-commits
all-commits at lists.llvm.org
Thu Apr 24 10:44:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1143a04f349c4081a1a2d2503046f6ca422aa338
https://github.com/llvm/llvm-project/commit/1143a04f349c4081a1a2d2503046f6ca422aa338
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
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/test/DebugInfo/Generic/inline-scopes.ll
A llvm/test/DebugInfo/Generic/lexical-block-abstract-origin.ll
M llvm/test/DebugInfo/X86/lexical-block-file-inline.ll
M llvm/test/DebugInfo/X86/missing-abstract-variable.ll
Log Message:
-----------
[DebugInfo][DWARF] Emit DW_AT_abstract_origin for concrete/inlined DW_TAG_lexical_blocks (#136205)
During the discussion under
https://github.com/llvm/llvm-project/pull/119001, it was noticed that
concrete DW_TAG_lexical_blocks should refer to corresponding abstract
DW_TAG_lexical_blocks by having DW_AT_abstract_origin, to avoid
ambiguity. This behavior is implemented in GCC
(https://godbolt.org/z/Khrzdq1Wx), but not in LLVM.
Fixes https://github.com/llvm/llvm-project/issues/49297.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list