brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 6ea373b Raw
23 lines · plain
1; RUN: llc -filetype=asm -mtriple=x86_64-apple-macosx12.0.0 -O0 %s -o - | FileCheck %s --implicit-check-not=prologue_end2; CHECK: Lfunc_begin0:3; CHECK-NEXT: .file{{.+}}4; CHECK-NEXT: .loc 1 1 0 ## test-small.c:1:0{{$}}5; CHECK-NEXT: .cfi_startproc6; CHECK-NEXT: ## %bb.{{[0-9]+}}:7; CHECK-NEXT: .loc 1 0 18define void @test() #0 !dbg !9 {9  ret void, !dbg !1210}11!llvm.module.flags = !{!0, !2, !4}12!llvm.dbg.cu = !{!5}13!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 12, i32 0]}14!2 = !{i32 2, !"Debug Info Version", i32 3}15!4 = !{i32 7, !"PIC Level", i32 2}16!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")17!6 = !DIFile(filename: "/Users/shubham/Development/test/test-small.c", directory: "/Users/shubham/Development/test")18!7 = !{}19!9 = distinct !DISubprogram(name: "test", scope: !10, file: !10, line: 1, type: !11, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !7)20!10 = !DIFile(filename: "test-small.c", directory: "/Users/shubham/Development/test")21!11 = !DISubroutineType(types: !7)22!12 = !DILocation(line: 0, column: 1, scope: !9)23