1 ; This checks that the list of index entries in the name index is terminated
4 ; RUN: llc -mtriple x86_64 -accel-tables=Dwarf -dwarf-version=5 -filetype=asm %s -o - | \
7 ; CHECK: .section .debug_names,"",@progbits
8 ; CHECK: .Lnames_entries0:
9 ; CHECK: .byte 0 # End of list: int
10 ; CHECK: .byte 0 # End of list: foo
12 @foo = common dso_local global i32 0, align 4, !dbg !5
15 !llvm.module.flags = !{!0}
17 !0 = !{i32 2, !"Debug Info Version", i32 3}
18 !1 = !DIFile(filename: "foo.c", directory: "/tmp")
19 !2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "Manual", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !3, globals: !4)
22 !5 = !DIGlobalVariableExpression(var: !6, expr: !DIExpression())
23 !6 = distinct !DIGlobalVariable(name: "foo", scope: !2, file: !1, line: 1, type: !7, isLocal: false, isDefinition: true)
24 !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)