1; RUN: llc -filetype=asm -mtriple=x86_64-apple-macosx12.0.0 -O0 %s -o - | FileCheck %s 2; CHECK: Lfunc_begin0: 3; CHECK-NEXT: .file{{.+}} 4; CHECK-NEXT: .loc 1 2 0 ## test/test.c:2:0{{$}} 5; CHECK-NEXT: .cfi_startproc 6; CHECK-NEXT: ## %bb.{{[0-9]+}}: 7; CHECK-NEXT: .loc 1 0 5 {{is_stmt [0-9]+}} ## test/test.c:0:5{{$}} 8@x = common global i32 0, align 4 9define void @test() #0 !dbg !9 { 10 store i32 1, ptr @x, align 4, !dbg !12 11 ret void, !dbg !14 12} 13!llvm.module.flags = !{!0,!2,!4} 14!llvm.dbg.cu = !{!5} 15!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 12, i32 0]} 16!2 = !{i32 2, !"Debug Info Version", i32 3} 17!4 = !{i32 7, !"PIC Level", i32 2} 18!5 = distinct !DICompileUnit(language: DW_LANG_C99, file: !6, producer: "Apple clang version 13.0.0 (clang-1300.0.29.3)", isOptimized: false, runtimeVersion: 0, emissionKind: LineTablesOnly, enums: !7, nameTableKind: None, sysroot: "/Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk", sdk: "MacOSX12.0.sdk") 19!6 = !DIFile(filename: "/Users/shubham/Development/test/test.c", directory: "/Users/shubham/Development/deltaTest") 20!7 = !{} 21!9 = distinct !DISubprogram(name: "test", scope: !10, file: !10, line: 2, type: !11, scopeLine: 2, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !7) 22!10 = !DIFile(filename: "test/test.c", directory: "/Users/shubham/Development") 23!11 = !DISubroutineType(types: !7) 24!12 = !DILocation(line: 0, column: 5, scope: !9) 25!14 = !DILocation(line: 3, column: 1, scope: !9)