• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=arm64-apple-darwin
2
3; rdar://9146594
4
5define void @drt_vsprintf() nounwind ssp {
6entry:
7  %do_tab_convert = alloca i32, align 4
8  br i1 undef, label %if.then24, label %if.else295, !dbg !13
9
10if.then24:                                        ; preds = %entry
11  unreachable
12
13if.else295:                                       ; preds = %entry
14  call void @llvm.dbg.declare(metadata i32* %do_tab_convert, metadata !16, metadata !MDExpression()), !dbg !18
15  store i32 0, i32* %do_tab_convert, align 4, !dbg !19
16  unreachable
17}
18
19declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
20
21!llvm.dbg.gv = !{!0}
22!llvm.dbg.sp = !{!1, !7, !10, !11, !12}
23
24!0 = !MDGlobalVariable(name: "vsplive", line: 617, isLocal: true, isDefinition: true, scope: !1, file: !2, type: !6)
25!1 = !MDSubprogram(name: "drt_vsprintf", line: 616, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !20, scope: !2, type: !4)
26!2 = !MDFile(filename: "print.i", directory: "/Volumes/Ebi/echeng/radars/r9146594")
27!3 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (http://llvm.org/git/clang.git git:/git/puzzlebox/clang.git/ c4d1aea01c4444eb81bdbf391f1be309127c3cf1)", isOptimized: true, emissionKind: 0, file: !20, enums: !21, retainedTypes: !21)
28!4 = !MDSubroutineType(types: !5)
29!5 = !{!6}
30!6 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
31!7 = !MDSubprogram(name: "putc_mem", line: 30, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !20, scope: !2, type: !8)
32!8 = !MDSubroutineType(types: !9)
33!9 = !{null}
34!10 = !MDSubprogram(name: "print_double", line: 203, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !20, scope: !2, type: !4)
35!11 = !MDSubprogram(name: "print_number", line: 75, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !20, scope: !2, type: !4)
36!12 = !MDSubprogram(name: "get_flags", line: 508, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !20, scope: !2, type: !8)
37!13 = !MDLocation(line: 653, column: 5, scope: !14)
38!14 = distinct !MDLexicalBlock(line: 652, column: 35, file: !20, scope: !15)
39!15 = distinct !MDLexicalBlock(line: 616, column: 1, file: !20, scope: !1)
40!16 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "do_tab_convert", line: 853, scope: !17, file: !2, type: !6)
41!17 = distinct !MDLexicalBlock(line: 850, column: 12, file: !20, scope: !14)
42!18 = !MDLocation(line: 853, column: 11, scope: !17)
43!19 = !MDLocation(line: 853, column: 29, scope: !17)
44!20 = !MDFile(filename: "print.i", directory: "/Volumes/Ebi/echeng/radars/r9146594")
45!21 = !{i32 0}
46