1 ; RUN: llc -enable-dwarf-directory -mtriple x86_64-apple-darwin10.0.0 < %s | FileCheck %s
4 ; CHECK: file 1 "simple.c"
6 declare i32 @printf(i8*, ...) nounwind
8 define i32 @main() nounwind !dbg !6 {
13 !llvm.module.flags = !{!12}
15 !1 = !DIFile(filename: "simple.c", directory: "/Users/manav/one/two")
16 !2 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "LLVM build 00", isOptimized: true, emissionKind: 0, file: !10, enums: !11, retainedTypes: !11, subprograms: !9)
17 !5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
18 !6 = distinct !DISubprogram(name: "main", linkageName: "main", line: 9, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !10, scope: !1, type: !7)
19 !7 = !DISubroutineType(types: !8)
22 !10 = !DIFile(filename: "simple.c", directory: "/Users/manav/one/two")
24 !12 = !{i32 1, !"Debug Info Version", i32 3}