xref: /llvm-project/llvm/test/Bitcode/dilocalvariable-3.9.ll (revision 693d39dd12710a3634e287dfa5d0dd516fbe24d6)
183d3f621SVictor Leschuk; RUN: llvm-dis -o - %s.bc | FileCheck %s
283d3f621SVictor Leschuk
383d3f621SVictor Leschuk; CHECK: !9 = !DILocalVariable(name: "i", scope: !6, file: !1, line: 1, type: !10)
483d3f621SVictor Leschuk; CHECK: !10 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
583d3f621SVictor Leschuk
683d3f621SVictor Leschuk!llvm.dbg.cu = !{!0}
783d3f621SVictor Leschuk!llvm.module.flags = !{!3, !4}
883d3f621SVictor Leschuk!llvm.ident = !{!5}
983d3f621SVictor Leschuk
10*693d39ddSJames Y Knight!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.9.1", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
1183d3f621SVictor Leschuk!1 = !DIFile(filename: "main.c", directory: "/tmp")
1283d3f621SVictor Leschuk!2 = !{}
1383d3f621SVictor Leschuk!3 = !{i32 2, !"Dwarf Version", i32 4}
1483d3f621SVictor Leschuk!4 = !{i32 2, !"Debug Info Version", i32 3}
15*693d39ddSJames Y Knight!5 = !{!"clang version 3.9.1"}
162c864551SShiva Chen!6 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 1, type: !7, isLocal: false, isDefinition: true, scopeLine: 1, isOptimized: false, unit: !0, retainedNodes: !2)
1783d3f621SVictor Leschuk!7 = !DISubroutineType(types: !8)
1883d3f621SVictor Leschuk!8 = !{null}
1983d3f621SVictor Leschuk!9 = !DILocalVariable(name: "i", scope: !6, file: !1, line: 1, type: !10)
2083d3f621SVictor Leschuk!10 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
2183d3f621SVictor Leschuk!11 = !DIExpression()
2283d3f621SVictor Leschuk!12 = !DILocation(line: 1, column: 16, scope: !6)
2383d3f621SVictor Leschuk!13 = !DILocation(line: 1, column: 19, scope: !6)
24