63 lines · plain
1; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s2 3define void @Main__Test() #0 !dbg !17 {4entry:5 %as = alloca i64, align 86 %bs = alloca i64, align 87 br label %second, !dbg !218 9second: ; preds = %entry10 #dbg_declare(ptr %as, !22, !DIExpression(), !25)11 #dbg_declare(ptr %bs, !26, !DIExpression(), !25)12 store i64 36028797018972298, ptr %as, align 8, !dbg !2813 store i64 85, ptr %bs, align 8, !dbg !2914 ret void, !dbg !2115}16 17; Function Attrs: nofree nosync nounwind readnone speculatable willreturn18 19!llvm.ident = !{!0}20!llvm.dbg.cu = !{!1}21!llvm.module.flags = !{!14, !15, !16}22 23!0 = !{!"versions- cm3: d5.10.0 llvm: 12.0"}24!1 = distinct !DICompileUnit(language: DW_LANG_Modula3, file: !2, producer: "cm3", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !3)25!2 = !DIFile(filename: "Main.m3", directory: "/home/peter/cm3/settest/src")26!3 = !{!4}27!4 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Enum", scope: !2, file: !2, line: 11, size: 8, align: 8, elements: !5)28!5 = !{!6, !7, !8, !9, !10, !11, !12, !13}29!6 = !DIEnumerator(name: "alpha", value: 0)30!7 = !DIEnumerator(name: "beta", value: 1)31!8 = !DIEnumerator(name: "gamma", value: 2)32!9 = !DIEnumerator(name: "delta", value: 3)33!10 = !DIEnumerator(name: "epsilon", value: 4)34!11 = !DIEnumerator(name: "theta", value: 5)35!12 = !DIEnumerator(name: "psi", value: 6)36!13 = !DIEnumerator(name: "zeta", value: 7)37!14 = !{i64 2, !"Dwarf Version", i64 4}38!15 = !{i64 2, !"Debug Info Version", i64 3}39!16 = !{i64 2, !"wchar_size", i64 2}40!17 = distinct !DISubprogram(name: "Test", linkageName: "Main__Test", scope: !2, file: !2, line: 11, type: !18, scopeLine: 11, spFlags: DISPFlagDefinition, unit: !1, retainedNodes: !20)41!18 = !DISubroutineType(types: !19)42!19 = !{null}43!20 = !{}44!21 = !DILocation(line: 20, scope: !17)45!22 = !DILocalVariable(name: "as", scope: !17, file: !2, line: 11, type: !23)46; CHECK: invalid set base type47!23 = !DIDerivedType(tag: DW_TAG_set_type, name: "SS", scope: !2, file: !2, line: 11, baseType: !24, size: 64, align: 64)48!24 = !DIBasicType(name: "SR", size: 8, encoding: DW_ATE_signed)49!25 = !DILocation(line: 11, scope: !17)50!26 = !DILocalVariable(name: "bs", scope: !17, file: !2, line: 11, type: !27)51!27 = !DIDerivedType(tag: DW_TAG_set_type, name: "ST", scope: !2, file: !2, line: 11, baseType: !23, size: 64, align: 64)52!28 = !DILocation(line: 17, scope: !17)53!29 = !DILocation(line: 18, scope: !17)54!30 = distinct !DISubprogram(name: "Main_M3", linkageName: "Main_M3", scope: !2, file: !2, line: 22, type: !31, scopeLine: 22, spFlags: DISPFlagDefinition, unit: !1, retainedNodes: !20)55!31 = !DISubroutineType(types: !32)56!32 = !{!33, !35}57!33 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "ADDR", baseType: !34, size: 64, align: 64)58!34 = !DICompositeType(tag: DW_TAG_class_type, name: "ADDR__HeapObject", scope: !2, file: !2, line: 22, size: 64, align: 64, elements: !19, identifier: "AJWxb1")59!35 = !DIBasicType(name: "INTEGER", size: 64, encoding: DW_ATE_signed)60!36 = !DILocation(line: 23, scope: !30)61!37 = !DILocalVariable(name: "mode", arg: 1, scope: !30, file: !2, line: 22, type: !35)62!38 = !DILocation(line: 22, scope: !30)63