[lld] [llvm] [DebugInfo][DwarfDebug] Move emission of globals from beginModule() to endModule() (5/7) (PR #184219)
Vladislav Dzhidzhoev via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 06:38:41 PST 2026
================
@@ -15,16 +15,16 @@
; CHECK: .debug_abbrev contents:
-; CHECK: [3] DW_TAG_enumeration_type DW_CHILDREN_yes
+; CHECK: [2] DW_TAG_enumeration_type DW_CHILDREN_yes
; CHECK: DW_AT_APPLE_enum_kind DW_FORM_data1
; CHECK: .debug_info contents:
-; CHECK: DW_TAG_enumeration_type [3]
+; CHECK: DW_TAG_enumeration_type [2]
; CHECK-DAG: DW_AT_name {{.*}} string = "OpenEnum"
; CHECK-DAG: DW_AT_APPLE_enum_kind [DW_FORM_data1] (DW_APPLE_ENUM_KIND_Open)
-; CHECK: DW_TAG_enumeration_type [3]
+; CHECK: DW_TAG_enumeration_type [2]
; CHECK-DAG: DW_AT_name {{.*}} string = "ClosedEnum"
----------------
dzhidzhoev wrote:
No, this was added last year. I think the form used to encode DW_AT_APPLE_enum_kind is checked intentionally.
Added FileCheck variable for abbreviation number.
https://github.com/llvm/llvm-project/pull/184219
More information about the llvm-commits
mailing list