25 lines · plain
1; RUN: llc -mtriple x86_64-apple-darwin10.0.0 < %s | FileCheck %s2 3; Verify that the file name is relative to the directory.4; rdar://problem/88848985; CHECK: file 1 "/Users/manav/one/two" "simple.c"6 7declare i32 @printf(ptr, ...) nounwind8 9define i32 @main() nounwind !dbg !6 {10 ret i32 011}12 13!llvm.dbg.cu = !{!2}14!llvm.module.flags = !{!12}15 16!1 = !DIFile(filename: "simple.c", directory: "/Users/manav/one/two")17!2 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "LLVM build 00", isOptimized: true, emissionKind: FullDebug, file: !10, enums: !11, retainedTypes: !11)18!5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)19!6 = distinct !DISubprogram(name: "main", linkageName: "main", line: 9, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, unit: !2, file: !10, scope: !1, type: !7)20!7 = !DISubroutineType(types: !8)21!8 = !{!5}22!10 = !DIFile(filename: "simple.c", directory: "/Users/manav/one/two")23!11 = !{}24!12 = !{i32 1, !"Debug Info Version", i32 3}25