1 ; RUN: opt -S -strip-nonlinetable-debuginfo %s -o - | FileCheck %s
2 ; CHECK: define void @f()
3 define void @f() !dbg !4 {
5 ; CHECK-NOT: llvm.dbg.label
6 call void @llvm.dbg.label(metadata !12), !dbg !11
10 declare void @llvm.dbg.label(metadata)
13 !llvm.module.flags = !{!7, !8, !9}
16 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "LLVM", isOptimized: false, runtimeVersion: 0, emissionKind: 1, enums: !2)
17 !1 = !DIFile(filename: "f.c", directory: "/")
19 !4 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 1, type: !5, isLocal: false, isDefinition: true, scopeLine: 1, isOptimized: false, unit: !0, retainedNodes: !2)
20 !5 = !DISubroutineType(types: !6)
22 !7 = !{i32 2, !"Dwarf Version", i32 2}
23 !8 = !{i32 2, !"Debug Info Version", i32 3}
24 !9 = !{i32 1, !"PIC Level", i32 2}
26 !11 = !DILocation(line: 1, column: 24, scope: !4)
28 !12 = !DILabel(scope: !4, name: "entry", file: !1, line: 1)