brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 5137e6f Raw
31 lines · plain
1;; Test bit stride of arrays.2 3; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s4 5; CHECK:  !DICompositeType(tag: DW_TAG_array_type, baseType: !{{[0-9]+}}, size: 32, align: 32, elements: !{{[0-9]+}}, bitStride: i32 7)6 7; ModuleID = 'stride.adb'8source_filename = "/dir/stride.ll"9 10!llvm.module.flags = !{!0, !1}11!llvm.dbg.cu = !{!2}12 13!0 = !{i32 2, !"Dwarf Version", i32 4}14!1 = !{i32 2, !"Debug Info Version", i32 3}15!2 = distinct !DICompileUnit(language: DW_LANG_Ada95, file: !3, isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, retainedTypes: !5, globals: !4, imports: !4)16!3 = !DIFile(filename: "stride.adb", directory: "/dir")17!4 = !{}18!5 = !{!6, !17}19!6 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, dataLocation: !10, associated: !15)20!7 = !DIBasicType(name: "integer", size: 32, align: 32, encoding: DW_ATE_signed)21!8 = !{!9}22!9 = !DISubrange(count: 19, lowerBound: 2)23!10 = distinct !DILocalVariable(scope: !11, file: !3, type: !14, flags: DIFlagArtificial)24!11 = distinct !DISubprogram(name: "main", scope: !2, file: !3, line: 1, type: !12, scopeLine: 1, spFlags: DISPFlagDefinition | DISPFlagMainSubprogram, unit: !2)25!12 = !DISubroutineType(cc: DW_CC_program, types: !13)26!13 = !{null}27!14 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !7, size: 32, align: 32)28!15 = distinct !DILocalVariable(scope: !11, file: !3, type: !16, flags: DIFlagArtificial)29!16 = !DIBasicType(name: "integer", size: 32, align: 32, encoding: DW_ATE_signed)30!17 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, bitStride: i32 7)31