xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/null-streamer.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; Check the MCNullStreamer operates correctly, at least on a minimal test case.
2*9880d681SAndroid Build Coastguard Worker;
3*9880d681SAndroid Build Coastguard Worker; RUN: llc -filetype=null -o %t -march=x86 %s
4*9880d681SAndroid Build Coastguard Worker; RUN: llc -filetype=null -o %t -mtriple=i686-cygwin %s
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workerdefine void @f0()  {
7*9880d681SAndroid Build Coastguard Worker  ret void
8*9880d681SAndroid Build Coastguard Worker}
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workerdefine void @f1() {
11*9880d681SAndroid Build Coastguard Worker  ret void
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker!llvm.dbg.cu = !{!0}
15*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!11, !13}
16*9880d681SAndroid Build Coastguard Worker
17*9880d681SAndroid Build Coastguard Worker!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: " ", isOptimized: true, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, globals: !9, imports: !2)
18*9880d681SAndroid Build Coastguard Worker!1 = !DIFile(filename: "file.c", directory: "")
19*9880d681SAndroid Build Coastguard Worker!2 = !{}
20*9880d681SAndroid Build Coastguard Worker!4 = distinct !DISubprogram(name: "", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 2, file: !1, scope: !1, type: !6, variables: !2)
21*9880d681SAndroid Build Coastguard Worker!6 = !DISubroutineType(types: !7)
22*9880d681SAndroid Build Coastguard Worker!7 = !{!8}
23*9880d681SAndroid Build Coastguard Worker!8 = !DIBasicType(tag: DW_TAG_base_type, size: 32, align: 32, encoding: DW_ATE_signed)
24*9880d681SAndroid Build Coastguard Worker!9 = !{!10}
25*9880d681SAndroid Build Coastguard Worker!10 = !DIGlobalVariable(name: "i", linkageName: "_ZL1i", line: 1, isLocal: true, isDefinition: true, scope: null, file: !1, type: !8)
26*9880d681SAndroid Build Coastguard Worker!11 = !{i32 2, !"Dwarf Version", i32 3}
27*9880d681SAndroid Build Coastguard Worker!13 = !{i32 1, !"Debug Info Version", i32 3}
28