1 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 ; This test case is little iffy. It checks for line_table_start,
4 ; which in future may be completely replaced with some other label name.
5 ; The first check is the use, the second check is for defition.
7 ; CHECK: .Lline_table_start0
8 ; CHECK: .Lline_table_start0:
10 ; Function Attrs: nounwind
11 define i32 @f0() #0 !dbg !5 {
13 %v0 = alloca i32, align 4
14 store i32 0, ptr %v0, align 4
18 attributes #0 = { nounwind "target-cpu"="hexagonv55" }
21 !llvm.module.flags = !{!3, !4}
23 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "Clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
24 !1 = !DIFile(filename: "/tmp/1.c", directory: "/tmp")
26 !3 = !{i32 2, !"Dwarf Version", i32 4}
27 !4 = !{i32 2, !"Debug Info Version", i32 3}
28 !5 = distinct !DISubprogram(name: "main", scope: !1, file: !1, line: 1, type: !6, isLocal: false, isDefinition: true, scopeLine: 1, isOptimized: false, unit: !0, retainedNodes: !2)
29 !6 = !DISubroutineType(types: !7)
31 !8 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
32 !9 = !DILocation(line: 2, column: 3, scope: !5)