llvm.org GIT mirror llvm / f8ccc7e
Upgrade some wildly anachronistic debug info in testcases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264797 91177308-0d34-0410-b5e6-96231b3b80d8 Adrian Prantl 4 years ago
14 changed file(s) with 20 addition(s) and 35 deletion(s). Raw diff Collapse all Expand all
1717
1818 declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
1919
20 !llvm.dbg.gv = !{!0}
21 !llvm.dbg.sp = !{!1, !7, !10, !11, !12}
20 !llvm.dbg.cu = !{!0}
2221
2322 !0 = !DIGlobalVariable(name: "vsplive", line: 617, isLocal: true, isDefinition: true, scope: !1, file: !2, type: !6)
2423 !1 = distinct !DISubprogram(name: "drt_vsprintf", line: 616, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !20, scope: !2, type: !4)
2524 !2 = !DIFile(filename: "print.i", directory: "/Volumes/Ebi/echeng/radars/r9146594")
26 !3 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (http://llvm.org/git/clang.git git:/git/puzzlebox/clang.git/ c4d1aea01c4444eb81bdbf391f1be309127c3cf1)", isOptimized: true, emissionKind: 0, file: !20, enums: !21, retainedTypes: !21)
25 !3 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (http://llvm.org/git/clang.git git:/git/puzzlebox/clang.git/ c4d1aea01c4444eb81bdbf391f1be309127c3cf1)", isOptimized: true, emissionKind: 0, file: !20, subprograms: !22, enums: !21, retainedTypes: !21, globals: !{!0})
2726 !4 = !DISubroutineType(types: !5)
2827 !5 = !{!6}
2928 !6 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
4241 !19 = !DILocation(line: 853, column: 29, scope: !17)
4342 !20 = !DIFile(filename: "print.i", directory: "/Volumes/Ebi/echeng/radars/r9146594")
4443 !21 = !{i32 0}
44 !22 = !{!1, !7, !10, !11, !12}
0 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
11
2 !llvm.dbg.sp = !{!0}
2 !llvm.module.flags = !{!6}
33 !llvm.dbg.cu = !{!5}
4 !llvm.module.flags = !{!6}
54
65 !0 = !DISubprogram(name: "bar", linkageName: "_ZN3foo3barEv", line: 3, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagProtected | DIFlagPrototyped, isOptimized: false, scopeLine: 3, file: !4, scope: !1, type: !2)
76 !1 = !DIFile(filename: "/foo", directory: "bar.cpp")
87 !2 = !DISubroutineType(types: !3)
98 !3 = !{null}
109 !4 = !DIFile(filename: "/foo", directory: "bar.cpp")
11 !5 = distinct !DICompileUnit(language: DW_LANG_C99, isOptimized: true, emissionKind: 0, file: !4, enums: !{}, retainedTypes: !{})
10 !5 = distinct !DICompileUnit(language: DW_LANG_C99, isOptimized: true, emissionKind: 0, file: !4, subprograms: !{!0}, enums: !{}, retainedTypes: !{})
1211
1312 define <{i32, i32}> @f1() {
1413 ; CHECK: !dbgx ![[NUMBER:[0-9]+]]
88
99 !llvm.dbg.cu = !{!2}
1010 !llvm.module.flags = !{!15}
11 !llvm.dbg.sp = !{!0, !6, !11}
1211 !llvm.dbg.lv.foo = !{!7}
1312
1413 !0 = distinct !DISubprogram(name: "bar", linkageName: "bar", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: true, file: !12, scope: !1, type: !3)
1716 !3 = !DISubroutineType(types: !4)
1817 !4 = !{!5}
1918 !5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
20 !6 = distinct !DISubprogram(name: "foo", linkageName: "foo", line: 7, isLocal: true, isDefinition: true, virtualIndex: 6, isOptimized: true, file: !12, scope: !1, type: !3)
19 !6 = distinct !DISubprogram(name: "foo", linkageName: "foo", line: 7, isLocal: true, isDefinition: true, virtualIndex: 6, isOptimized: true, file: !12, scope: !1, type: !3, declaration: !11)
2120 !7 = !DILocalVariable(name: "one", line: 8, scope: !8, file: !1, type: !5)
2221 !8 = distinct !DILexicalBlock(line: 7, column: 18, file: !12, scope: !6)
2322 !9 = !DILocation(line: 4, column: 3, scope: !10)
2423 !10 = distinct !DILexicalBlock(line: 3, column: 11, file: !12, scope: !0)
2524 !11 = !DISubprogram(name: "foo", linkageName: "foo", line: 7, isLocal: true, isDefinition: false, virtualIndex: 6, isOptimized: true, file: !12, scope: !1, type: !3)
2625 !12 = !DIFile(filename: "one.c", directory: "/private/tmp")
27 !13 = !{!0}
26 !13 = !{!0, !6}
2827 !14 = !{}
2928 !15 = !{i32 1, !"Debug Info Version", i32 3}
1414
1515 !llvm.dbg.cu = !{!0}
1616 !llvm.module.flags = !{!11}
17 !llvm.dbg.sp = !{!1}
1817
1918 !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "Apple clang version 3.0 (tags/Apple/clang-209.11) (based on LLVM 3.0svn)", isOptimized: true, emissionKind: 0, file: !8, enums: !9, retainedTypes: !9, subprograms: !10)
2019 !1 = distinct !DISubprogram(name: "foo", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !8, scope: !2, type: !3)
1111
1212 !llvm.dbg.cu = !{!0}
1313 !llvm.module.flags = !{!11}
14 !llvm.dbg.sp = !{!1}
1514
1615 !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "Apple clang version 3.0 (tags/Apple/clang-209.11) (based on LLVM 3.0svn)", isOptimized: true, emissionKind: 0, file: !8, enums: !9, retainedTypes: !9, subprograms: !10)
1716 !1 = distinct !DISubprogram(name: "bar", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !8, scope: !2, type: !3)
2020
2121 !llvm.dbg.cu = !{!0}
2222 !llvm.module.flags = !{!11}
23 !llvm.dbg.sp = !{!1}
24 !llvm.dbg.gv = !{!5}
2523
26 !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !9, enums: !{}, retainedTypes: !{}, subprograms: !10)
24 !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !9, enums: !{}, retainedTypes: !{}, subprograms: !10, globals: !{!5})
2725 !1 = distinct !DISubprogram(name: "foo", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !9, scope: !2, type: !3)
2826 !2 = !DIFile(filename: "/tmp/one.c", directory: "/Volumes/Lalgate/Slate/D")
2927 !3 = !DISubroutineType(types: !4)
1515
1616 !llvm.dbg.cu = !{!0}
1717 !llvm.module.flags = !{!11}
18 !llvm.dbg.sp = !{!1}
19 !llvm.dbg.gv = !{!5}
2018
21 !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !9, enums: !{}, retainedTypes: !{}, subprograms: !10)
19 !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !9, enums: !{}, retainedTypes: !{}, subprograms: !10, globals: !{!5})
2220 !1 = distinct !DISubprogram(name: "bar", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !9, scope: !2, type: !3)
2321 !2 = !DIFile(filename: "/tmp/two.c", directory: "/Volumes/Lalgate/Slate/D")
2422 !3 = !DISubroutineType(types: !4)
1212
1313 !llvm.dbg.cu = !{!2}
1414 !llvm.module.flags = !{!10}
15 !llvm.dbg.sp = !{!0}
1615
1716 !0 = distinct !DISubprogram(name: "foo", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !8, scope: !1, type: !3)
1817 !1 = !DIFile(filename: "m.c", directory: "/private/tmp")
3333 declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
3434
3535 !llvm.module.flags = !{!26}
36 !llvm.dbg.sp = !{!0, !6, !9, !10}
36 !llvm.dbg.cu = !{!2}
3737
3838 !0 = distinct !DISubprogram(name: "idamax", line: 112, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !25, scope: !1, type: !3)
3939 !1 = !DIFile(filename: "/Volumes/Lalgate/work/llvm/projects/llvm-test/SingleSource/Benchmarks/CoyoteBench/lpbench.c", directory: "/private/tmp")
40 !2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 2.9 (trunk 127169)", isOptimized: true, emissionKind: 0, file: !25, enums: !8, retainedTypes: !8, subprograms: !8)
40 !2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 2.9 (trunk 127169)", isOptimized: true, emissionKind: 0, file: !25, subprograms: !8)
4141 !3 = !DISubroutineType(types: !4)
4242 !4 = !{!5}
4343 !5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
4444 !6 = distinct !DISubprogram(name: "dscal", line: 206, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !25, scope: !1, type: !7)
45 !7 = !DISubroutineType(types: !8)
46 !8 = !{null}
45 !7 = !DISubroutineType(types: !{null})
46 !8 = !{!0, !6, !9, !10}
4747 !9 = distinct !DISubprogram(name: "daxpy", line: 230, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !25, scope: !1, type: !7)
4848 !10 = distinct !DISubprogram(name: "dgefa", line: 267, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !25, scope: !1, type: !7)
4949 !11 = !DILocation(line: 281, column: 9, scope: !12)
8181 }
8282
8383 !llvm.module.flags = !{!20}
84 !llvm.dbg.sp = !{!0}
84 !llvm.dbg.cu = !{!2}
8585
8686 !0 = distinct !DISubprogram(name: "tak", line: 32, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !18, scope: !1, type: !3)
8787 !1 = !DIFile(filename: "/Volumes/Lalgate/cj/llvm/projects/llvm-test/SingleSource/Benchmarks/BenchmarkGame/recursive.c", directory: "/Volumes/Lalgate/cj/D/projects/llvm-test/SingleSource/Benchmarks/BenchmarkGame")
88 !2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 2.9 (trunk 125492)", isOptimized: true, emissionKind: 0, file: !18, enums: !19, retainedTypes: !19)
88 !2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 2.9 (trunk 125492)", isOptimized: true, emissionKind: 0, file: !18, subprograms: !{!0})
8989 !3 = !DISubroutineType(types: !4)
9090 !4 = !{!5}
9191 !5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
102102 !16 = !DILocation(line: 36, column: 3, scope: !13)
103103 !17 = !DILocation(line: 37, column: 1, scope: !13)
104104 !18 = !DIFile(filename: "/Volumes/Lalgate/cj/llvm/projects/llvm-test/SingleSource/Benchmarks/BenchmarkGame/recursive.c", directory: "/Volumes/Lalgate/cj/D/projects/llvm-test/SingleSource/Benchmarks/BenchmarkGame")
105 !19 = !{i32 0}
106105 !20 = !{i32 1, !"Debug Info Version", i32 3}
3838
3939 declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
4040
41 !llvm.dbg.sp = !{!0}
41 !llvm.dbg.cu = !{!2}
4242
4343 !0 = distinct !DISubprogram(name: "foo", line: 231, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !15, scope: !1, type: !3)
4444 !1 = !DIFile(filename: "a.c", directory: "/private/tmp")
45 !2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang (trunk 129006)", isOptimized: true, emissionKind: 0, file: !15, enums: !4, retainedTypes: !4)
45 !2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang (trunk 129006)", isOptimized: true, emissionKind: 0, file: !15, subprograms: !{!0}, enums: !4, retainedTypes: !4)
4646 !3 = !DISubroutineType(types: !4)
4747 !4 = !{null}
4848 !5 = !DILocation(line: 131, column: 2, scope: !0)
2929 declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
3030
3131 !llvm.module.flags = !{!21}
32 !llvm.dbg.sp = !{!0}
32 !llvm.dbg.cu = !{!2}
3333
3434 !0 = distinct !DISubprogram(name: "foo", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !20, scope: !1, type: !3)
3535 !1 = !DIFile(filename: "b.c", directory: "/private/tmp")
36 !2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", isOptimized: true, emissionKind: 0, file: !20, enums: !8, retainedTypes: !8)
36 !2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", isOptimized: true, emissionKind: 0, file: !20, subprograms: !{!0})
3737 !3 = !DISubroutineType(types: !4)
3838 !4 = !{!5}
3939 !5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
4040 !6 = !DILocalVariable(name: "i", line: 2, arg: 1, scope: !0, file: !1, type: !5)
4141 !7 = !DILocation(line: 2, column: 13, scope: !0)
42 !8 = !{i32 0}
4342 !9 = !DILocalVariable(name: "k", line: 3, scope: !10, file: !1, type: !5)
4443 !10 = distinct !DILexicalBlock(line: 2, column: 16, file: !20, scope: !0)
4544 !11 = !DILocation(line: 3, column: 12, scope: !10)
88
99 !llvm.dbg.cu = !{!2}
1010 !llvm.module.flags = !{!10}
11 !llvm.dbg.sp = !{!0}
1211
1312 !0 = distinct !DISubprogram(name: "foo", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !8, scope: !1, type: !3)
1413 !1 = !DIFile(filename: "foo.c", directory: "/private/tmp")
1111
1212 declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
1313
14 !llvm.dbg.cu = !{!2}
1514 !llvm.module.flags = !{!13}
16 !llvm.dbg.sp = !{!0}
1715 !llvm.dbg.lv.foo = !{!5}
18 !llvm.dbg.gv = !{!8}
1916
2017 !0 = distinct !DISubprogram(name: "foo", linkageName: "foo", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: true, file: !12, scope: !1, type: !3)
2118 !1 = !DIFile(filename: "b.c", directory: "/tmp")
22 !2 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: 0, file: !12)
19 !2 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: 0, file: !12, subprograms: !{!0}, globals: !{!8})
2320 !3 = !DISubroutineType(types: !4)
2421 !4 = !{null}
2522 !5 = !DILocalVariable(name: "y", line: 3, scope: !6, file: !1, type: !7)