Home | History | Annotate | Download | only in Generic
      1 ; RUN: llc  < %s | FileCheck %s
      2 ; Radar 10147769
      3 ; Do not unnecessarily use AT_specification DIE.
      4 ; CHECK-NOT: AT_specification
      5 
      6 @a = common global [10 x i32] zeroinitializer, align 16
      7 
      8 !llvm.dbg.cu = !{!0}
      9 !llvm.module.flags = !{!12}
     10 
     11 !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 140253)", isOptimized: true, emissionKind: FullDebug, file: !11, enums: !2, retainedTypes: !2, globals: !3)
     12 !2 = !{}
     13 !3 = !{!5}
     14 !5 = !DIGlobalVariable(name: "a", line: 1, isLocal: false, isDefinition: true, scope: null, file: !6, type: !7, variable: [10 x i32]* @a)
     15 !6 = !DIFile(filename: "x.c", directory: "/private/tmp")
     16 !7 = !DICompositeType(tag: DW_TAG_array_type, size: 320, align: 32, baseType: !8, elements: !9)
     17 !8 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
     18 !9 = !{!10}
     19 !10 = !DISubrange(count: 10)
     20 !11 = !DIFile(filename: "x.c", directory: "/private/tmp")
     21 !12 = !{i32 1, !"Debug Info Version", i32 3}
     22