1d4135bbcSPeter Collingbourne; RUN: llvm-dis -o - %s.bc | FileCheck %s 2d4135bbcSPeter Collingbourne 3bceaaa96SAdrian Prantl!llvm.dbg.cu = !{!0} 4bceaaa96SAdrian Prantl!llvm.module.flags = !{!7, !8} 5d4135bbcSPeter Collingbourne 6bceaaa96SAdrian Prantl; CHECK: !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.1", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, globals: !3) 7bceaaa96SAdrian Prantl!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.1", isOptimized: true, runtimeVersion: 0, emissionKind: 1, enums: !2, globals: !3) 8bceaaa96SAdrian Prantl!1 = !DIFile(filename: "g.c", directory: "/") 9bceaaa96SAdrian Prantl!2 = !{} 10bceaaa96SAdrian Prantl; CHECK: !3 = !{!4} 11bceaaa96SAdrian Prantl!3 = !{!4} 12*6d353348SReid Kleckner; CHECK: !4 = {{.*}}!DIGlobalVariableExpression(var: !5, expr: !DIExpression(DW_OP_constu, 42, DW_OP_stack_value)) 13bceaaa96SAdrian Prantl; CHECK: !5 = !DIGlobalVariable(name: "c", scope: !0, file: !1, line: 1, type: !6, isLocal: false, isDefinition: true) 14bceaaa96SAdrian Prantl!4 = !DIGlobalVariable(name: "c", scope: !0, file: !1, line: 1, type: !5, isLocal: false, isDefinition: true, variable: i32 42) 15bceaaa96SAdrian Prantl!5 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !6) 16bceaaa96SAdrian Prantl!6 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) 17bceaaa96SAdrian Prantl!7 = !{i32 2, !"Dwarf Version", i32 2} 18bceaaa96SAdrian Prantl!8 = !{i32 2, !"Debug Info Version", i32 3} 19d4135bbcSPeter Collingbourne 20