llvm.org GIT mirror llvm / 77a0728
DebugInfo: Fix bad debug info for compile units and types Fix debug info in these tests, which started failing with a WIP patch to verify compile units and types. The problems look like they were all caused by bitrot. They fell into these categories: - Using `!{i32 0}` instead of `!{}`. - Using `!{null}` instead of `!{}`. - Using `!MDExpression()` instead of `!{}`. - Using `!8` instead of `!{!8}`. - `file:` references that pointed at `MDCompileUnit`s instead of the same `MDFile` as the compile unit. - `file:` references that were numerically off-by-one or (off-by-ten). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233415 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan P. N. Exon Smith 4 years ago
94 changed file(s) with 102 addition(s) and 102 deletion(s). Raw diff Collapse all Expand all
2626 !9 = !MDLocation(line: 95, scope: !10)
2727 !10 = distinct !MDLexicalBlock(line: 94, column: 0, file: !12, scope: !1)
2828 !11 = !MDLocation(line: 100, scope: !10)
29 !13 = !{i32 0}
29 !13 = !{}
3030 !14 = !{!1}
3131 !15 = !{i32 1, !"Debug Info Version", i32 3}
3131 !llvm.dbg.cu = !{!0}
3232 !llvm.module.flags = !{!33}
3333
34 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)", isOptimized: true, emissionKind: 1, file: !32, enums: !4, retainedTypes: !4, subprograms: !30, imports: null)
34 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)", isOptimized: true, emissionKind: 1, file: !32, enums: !{}, retainedTypes: !{}, subprograms: !30, imports: null)
3535 !1 = !MDSubprogram(name: "foo", line: 11, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 11, file: !2, scope: !2, type: !3, function: void (%struct.tag_s*, %struct.tag_s*, i64, i64, %struct.tag_s*, %struct.tag_s*)* @foo, variables: !31)
3636 !2 = !MDFile(filename: "one.c", directory: "/Volumes/Athwagate/R10048772")
3737 !3 = !MDSubroutineType(types: !4)
9494 !llvm.dbg.cu = !{!0}
9595 !llvm.module.flags = !{!162}
9696
97 !0 = !MDCompileUnit(language: DW_LANG_ObjC, producer: "Apple clang version 2.1", isOptimized: false, runtimeVersion: 2, emissionKind: 1, file: !153, enums: !147, retainedTypes: !26, subprograms: !148)
97 !0 = !MDCompileUnit(language: DW_LANG_ObjC, producer: "Apple clang version 2.1", isOptimized: false, runtimeVersion: 2, emissionKind: 1, file: !153, enums: !147, retainedTypes: !{}, subprograms: !148)
9898 !1 = !MDCompositeType(tag: DW_TAG_enumeration_type, line: 248, size: 32, align: 32, file: !160, scope: !0, elements: !3)
9999 !2 = !MDFile(filename: "header.h", directory: "/Volumes/Sandbox/llvm")
100100 !3 = !{!4}
157157 !60 = !MDCompositeType(tag: DW_TAG_structure_type, name: "UIMydata", line: 26, size: 128, align: 32, runtimeLang: DW_LANG_ObjC, file: !154, scope: !24, elements: !62)
158158 !61 = !MDFile(filename: "header11.h", directory: "/Volumes/Sandbox/llvm")
159159 !62 = !{!63, !71, !75, !79}
160 !63 = !MDDerivedType(tag: DW_TAG_inheritance, file: !60, baseType: !64)
160 !63 = !MDDerivedType(tag: DW_TAG_inheritance, file: !61, baseType: !64)
161161 !64 = !MDCompositeType(tag: DW_TAG_structure_type, name: "NSO", line: 66, size: 32, align: 32, runtimeLang: DW_LANG_ObjC, file: !155, scope: !40, elements: !66)
162162 !65 = !MDFile(filename: "NSO.h", directory: "/Volumes/Sandbox/llvm")
163163 !66 = !{!67}
191191 !94 = !MDCompositeType(tag: DW_TAG_structure_type, name: "twork", line: 43, size: 32, align: 32, runtimeLang: DW_LANG_ObjC, file: !157, scope: !40, elements: !96)
192192 !95 = !MDFile(filename: "header13.h", directory: "/Volumes/Sandbox/llvm")
193193 !96 = !{!97}
194 !97 = !MDDerivedType(tag: DW_TAG_inheritance, file: !94, baseType: !64)
194 !97 = !MDDerivedType(tag: DW_TAG_inheritance, file: !95, baseType: !64)
195195 !98 = !MDDerivedType(tag: DW_TAG_member, name: "_itemID", line: 38, size: 64, align: 32, offset: 32, flags: DIFlagPrivate, file: !152, scope: !24, baseType: !99, extraData: !"")
196196 !99 = !MDDerivedType(tag: DW_TAG_typedef, name: "uint64_t", line: 55, file: !153, scope: !0, baseType: !100)
197197 !100 = !MDBasicType(tag: DW_TAG_base_type, name: "long long unsigned int", size: 64, align: 32, encoding: DW_ATE_unsigned)
200200 !103 = !MDCompositeType(tag: DW_TAG_structure_type, name: "MyLibrary2", line: 22, size: 32, align: 32, runtimeLang: DW_LANG_ObjC, file: !158, scope: !40, elements: !105)
201201 !104 = !MDFile(filename: "header14.h", directory: "/Volumes/Sandbox/llvm")
202202 !105 = !{!106}
203 !106 = !MDDerivedType(tag: DW_TAG_inheritance, file: !103, baseType: !64)
203 !106 = !MDDerivedType(tag: DW_TAG_inheritance, file: !104, baseType: !64)
204204 !107 = !MDDerivedType(tag: DW_TAG_member, name: "_bounds", line: 40, size: 128, align: 32, offset: 128, flags: DIFlagPrivate, file: !152, scope: !24, baseType: !108, extraData: !"")
205205 !108 = !MDDerivedType(tag: DW_TAG_typedef, name: "CR", line: 33, file: !153, scope: !0, baseType: !109)
206206 !109 = !MDCompositeType(tag: DW_TAG_structure_type, name: "CR", line: 29, size: 128, align: 32, file: !156, scope: !0, elements: !110)
4343
4444 !0 = !MDSubprogram(name: "test0001", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, file: !54, scope: null, type: !3, function: <4 x float> (float)* @test0001, variables: !51)
4545 !1 = !MDFile(filename: "build2.c", directory: "/private/tmp")
46 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 129915)", isOptimized: true, emissionKind: 1, file: !54, enums: !17, retainedTypes: !17, subprograms: !50, imports: null)
46 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 129915)", isOptimized: true, emissionKind: 1, file: !54, enums: !{}, retainedTypes: !{}, subprograms: !50, imports: null)
4747 !3 = !MDSubroutineType(types: !4)
4848 !4 = !{!5}
4949 !5 = !MDDerivedType(tag: DW_TAG_typedef, name: "v4f32", line: 14, file: !54, scope: !2, baseType: !6)
105105 !44 = !{!19, !20, !21}
106106 !45 = !{!22, !23, !24}
107107 !46 = !MDFile(filename: "a.c", directory: "/tmp/")
108 !47 = !{i32 0}
108 !47 = !{}
109109 !48 = !{i32 1, !"Debug Info Version", i32 3}
3939
4040 !0 = !MDSubprogram(name: "test0001", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 3, file: !54, scope: !1, type: !3, function: <4 x float> (float)* @test0001, variables: !51)
4141 !1 = !MDFile(filename: "build2.c", directory: "/private/tmp")
42 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 129915)", isOptimized: true, emissionKind: 1, file: !54, enums: !17, retainedTypes: !17, subprograms: !50, imports: null)
42 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 129915)", isOptimized: true, emissionKind: 1, file: !54, enums: !{}, retainedTypes: !{}, subprograms: !50, imports: null)
4343 !3 = !MDSubroutineType(types: !4)
4444 !4 = !{!5}
4545 !5 = !MDDerivedType(tag: DW_TAG_typedef, name: "v4f32", line: 14, file: !54, scope: !2, baseType: !6)
46 !6 = !MDCompositeType(tag: DW_TAG_array_type, size: 128, align: 128, file: !2, baseType: !7, elements: !8)
46 !6 = !MDCompositeType(tag: DW_TAG_array_type, size: 128, align: 128, file: !1, baseType: !7, elements: !8)
4747 !7 = !MDBasicType(tag: DW_TAG_base_type, name: "float", size: 32, align: 32, encoding: DW_ATE_float)
4848 !8 = !{!9}
4949 !9 = !MDSubrange(count: 4)
116116 !49 = !{!14, !15, !16}
117117 !50 = !{!17, !18, !22}
118118 !51 = !MDFile(filename: "a.c", directory: "/private/tmp")
119 !52 = !{i32 0}
119 !52 = !{}
120120 !53 = !{i32 1, !"Debug Info Version", i32 3}
6161 !16 = !{!1}
6262 !17 = !{!5, !8}
6363 !18 = !MDFile(filename: "k.cc", directory: "/private/tmp")
64 !19 = !{i32 0}
64 !19 = !{}
6565 !20 = !{i32 1, !"Debug Info Version", i32 3}
1919 !3 = !MDSubroutineType(types: !4)
2020 !4 = !{!5}
2121 !5 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
22 !6 = !{i32 0}
22 !6 = !{}
2323 !7 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 3, scope: !8, file: !1, type: !5)
2424 !8 = distinct !MDLexicalBlock(line: 2, column: 12, file: !12, scope: !0)
2525 !9 = !MDLocation(line: 3, column: 11, scope: !8)
1616 !llvm.dbg.cu = !{!0}
1717 !llvm.module.flags = !{!22}
1818
19 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.1", isOptimized: true, emissionKind: 0, file: !21, enums: !1, retainedTypes: !1, subprograms: !3, globals: !1, imports: !"")
19 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.1", isOptimized: true, emissionKind: 0, file: !21, enums: !1, retainedTypes: !1, subprograms: !3, globals: !1, imports: !1)
2020 !1 = !{}
2121 !3 = !{!5}
2222 !5 = !MDSubprogram(name: "main", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, file: !21, scope: null, type: !7, function: i32 (i32, i8**)* @main, variables: !13)
149149 !97 = !MDLocation(line: 227, scope: !94, inlinedAt: !96)
150150 !98 = !MDLocation(line: 52, scope: !1)
151151 !101 = !MDFile(filename: "ggEdgeDiscrepancy.cc", directory: "/Volumes/Home/grosbaj/sources/llvm-externals/speccpu2000/benchspec/CINT2000/252.eon/src")
152 !102 = !{i32 0}
152 !102 = !{}
153153 !103 = !{!3, !77}
154154 !104 = !{i32 1, !"Debug Info Version", i32 3}
5050 !17 = distinct !MDLexicalBlock(line: 11, column: 0, file: !19, scope: !1)
5151 !18 = !{!1}
5252 !19 = !MDFile(filename: "b2.c", directory: "/tmp/")
53 !20 = !{i32 0}
53 !20 = !{}
5454 !21 = !{i32 1, !"Debug Info Version", i32 3}
246246 !44 = !{!1}
247247 !45 = !MDFile(filename: "libgcc2.c", directory: "/Users/yash/clean/LG.D/gcc/../../llvmgcc/gcc")
248248 !46 = !MDFile(filename: "libgcc2.h", directory: "/Users/yash/clean/LG.D/gcc/../../llvmgcc/gcc")
249 !47 = !{i32 0}
249 !47 = !{}
250250 !48 = !{i32 1, !"Debug Info Version", i32 3}
4343 !16 = !{!7}
4444 !17 = !{!1, !8}
4545 !18 = !MDFile(filename: "f.c", directory: "/tmp")
46 !19 = !{i32 0}
46 !19 = !{}
4747
4848 ;CHECK: DEBUG_VALUE: bar:x <- E
4949 ;CHECK: Ltmp
5454 !29 = !MDLocation(line: 16, scope: !30)
5555 !30 = distinct !MDLexicalBlock(line: 15, column: 0, file: !31, scope: !8)
5656 !31 = !MDFile(filename: "foo.cp", directory: "/tmp/")
57 !32 = !{i32 0}
57 !32 = !{}
5858 !33 = !{!1, !8, !18}
5959 !34 = !{i32 1, !"Debug Info Version", i32 3}
124124 !44 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "k", line: 26, scope: !39, file: !2, type: !13)
125125 !45 = !MDLocation(line: 27, scope: !39)
126126 !47 = !MDFile(filename: "small.cc", directory: "/Users/manav/R8248330")
127 !48 = !{i32 0}
127 !48 = !{}
128128 !49 = !{i32 1, !"Debug Info Version", i32 3}
3030 !13 = !{!0, !6}
3131 !14 = !MDFile(filename: "", directory: "/private/tmp")
3232 !15 = !MDFile(filename: "bug.c", directory: "/private/tmp")
33 !16 = !{i32 0}
33 !16 = !{}
3434 !17 = !{i32 1, !"Debug Info Version", i32 3}
3535 !15 = !{!0}
3636 !16 = !{!6}
3737 !17 = !MDFile(filename: "one.c", directory: "/private/tmp")
38 !18 = !{i32 0}
38 !18 = !{}
3939 !19 = !{i32 1, !"Debug Info Version", i32 3}
109109 !29 = !{!10, !11, !12}
110110 !30 = !{!14, !17}
111111 !31 = !MDFile(filename: "rem_small.c", directory: "/private/tmp")
112 !32 = !{i32 0}
112 !32 = !{}
113113 !33 = !{i32 1, !"Debug Info Version", i32 3}
4848 !18 = !{!1}
4949 !19 = !{!6, !7, !10}
5050 !20 = !MDFile(filename: "a.c", directory: "/private/tmp")
51 !21 = !{i32 0}
51 !21 = !{}
5252 !22 = !{i32 1, !"Debug Info Version", i32 3}
2626
2727 !llvm.dbg.cu = !{!0}
2828 !llvm.module.flags = !{!23}
29 !0 = !MDCompileUnit(language: DW_LANG_C89, producer: "clang", isOptimized: true, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2)
29 !0 = !MDCompileUnit(language: DW_LANG_C89, producer: "clang", isOptimized: true, emissionKind: 0, file: !1, enums: !{}, retainedTypes: !{})
3030 !1 = !MDFile(filename: "t.c", directory: "")
3131 !16 = !MDBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char)
3232 !2 = !MDSubprogram()
3131 !8 = !MDLocation(line: 4, column: 3, scope: !7)
3232 !9 = !{!1}
3333 !10 = !MDFile(filename: "test.c", directory: "/dir")
34 !11 = !{i32 0}
34 !11 = !{}
3535 !12 = !{i32 1, !"Debug Info Version", i32 3}
88 !2 = !MDSubroutineType(types: !3)
99 !3 = !{null}
1010 !4 = !MDFile(filename: "/foo", directory: "bar.cpp")
11 !5 = !MDCompileUnit(language: DW_LANG_C99, isOptimized: true, emissionKind: 0, file: !4, enums: !3, retainedTypes: !3)
11 !5 = !MDCompileUnit(language: DW_LANG_C99, isOptimized: true, emissionKind: 0, file: !4, enums: !{}, retainedTypes: !{})
1212
1313 define <{i32, i32}> @f1() {
1414 ; CHECK: !dbgx ![[NUMBER:[0-9]+]]
1010 !llvm.module.flags = !{!18}
1111
1212 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 139632)", isOptimized: true, emissionKind: 0, file: !17, enums: !1, retainedTypes: !1, subprograms: !3, globals: !12)
13 !1 = !{i32 0}
13 !1 = !{}
1414 !3 = !{!5}
1515 !5 = !MDSubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: true, file: !17, scope: !6, type: !7, function: i32 ()* @foo)
1616 !6 = !MDFile(filename: "fb.c", directory: "/private/tmp")
1919 !6 = !MDBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char)
2020 !10 = !MDLocation(line: 588, column: 1, scope: !2)
2121 !11 = !MDFile(filename: "hashtab.c", directory: "/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libiberty")
22 !12 = !{i32 0}
22 !12 = !{}
2323 !13 = !{!2}
2424 !14 = !{i32 1, !"Debug Info Version", i32 3}
6565 !24 = !{!3, !12}
6666 !25 = !MDFile(filename: "one.cc", directory: "/tmp/")
6767 !26 = !MDFile(filename: "one.h", directory: "/tmp/")
68 !27 = !{i32 0}
68 !27 = !{}
6969 !28 = !{i32 1, !"Debug Info Version", i32 3}
107107 !35 = !MDLocation(line: 7, column: 19, scope: !36)
108108 !36 = distinct !MDLexicalBlock(line: 7, column: 17, file: !38, scope: !23)
109109 !38 = !MDFile(filename: "one.cc", directory: "/tmp")
110 !39 = !{i32 0}
110 !39 = !{}
111111 !40 = !{i32 1, !"Debug Info Version", i32 3}
3232 !7 = !MDLocation(line: 2, scope: !8)
3333 !8 = distinct !MDLexicalBlock(line: 2, column: 0, file: !10, scope: !1)
3434 !10 = !MDFile(filename: "a.c", directory: "/tmp")
35 !11 = !{i32 0}
35 !11 = !{}
3636 !12 = !{i32 1, !"Debug Info Version", i32 3}
3434 !14 = !MDLocation(line: 8, scope: !15)
3535 !15 = distinct !MDLexicalBlock(line: 7, column: 0, file: !16, scope: !1)
3636 !16 = !MDFile(filename: "t.c", directory: "/Users/echeng/LLVM/radars/r7937664/")
37 !17 = !{i32 0}
37 !17 = !{}
3838 !18 = !{!1}
3939 !19 = !{i32 1, !"Debug Info Version", i32 3}
6767 !15 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "base", line: 92, arg: 0, scope: !16, file: !10, type: !17)
6868 !16 = !MDSubprogram(name: "OSReadSwapInt64", linkageName: "OSReadSwapInt64", line: 95, isLocal: true, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !38, scope: null, type: !5)
6969 !17 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 32, align: 32, file: !39, scope: !3, baseType: null)
70 !18 = !{i32 0}
70 !18 = !{}
7171 !19 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "byteOffset", line: 94, arg: 0, scope: !16, file: !10, type: !20)
7272 !20 = !MDDerivedType(tag: DW_TAG_typedef, name: "uintptr_t", line: 114, file: !37, scope: !3, baseType: !22)
7373 !21 = !MDFile(filename: "types.h", directory: "/usr/include/ppc")
3838 !14 = !{!15}
3939 !15 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
4040 !18 = !MDFile(filename: "a.c", directory: "/tmp/")
41 !19 = !{i32 0}
41 !19 = !{}
4242 !20 = !MDFile(filename: "b.c", directory: "/tmp/")
4343 !21 = !{i32 1, !"Debug Info Version", i32 3}
2525 !11 = !MDSubprogram(name: "foo", linkageName: "foo", line: 7, isLocal: true, isDefinition: false, virtualIndex: 6, isOptimized: true, file: !12, scope: !1, type: !3)
2626 !12 = !MDFile(filename: "one.c", directory: "/private/tmp")
2727 !13 = !{!0}
28 !14 = !{i32 0}
28 !14 = !{}
2929 !15 = !{i32 1, !"Debug Info Version", i32 3}
2121 !23 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "rect", line: 53, arg: 0, scope: !0, file: !1, type: !5)
2222 !24 = !MDLocation(line: 53, column: 33, scope: !0)
2323 !25 = !MDFile(filename: "GSFusedSilica.m", directory: "/Volumes/Data/Users/sabre/Desktop")
24 !26 = !{i32 0}
24 !26 = !{}
2525 !27 = !{i32 1, !"Debug Info Version", i32 3}
6868
6969 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 ", isOptimized: true, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
7070 !1 = !MDFile(filename: "", directory: "/Volumes/Data/radar/15464571")
71 !2 = !{i32 0}
71 !2 = !{}
7272 !3 = !{!4}
7373 !4 = !MDSubprogram(name: "run", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 2, file: !5, scope: !6, type: !7, function: void (float)* @run, variables: !10)
7474 !5 = !MDFile(filename: "test.c", directory: "/Volumes/Data/radar/15464571")
5858 !16 = !{!1}
5959 !17 = !{!5, !8}
6060 !18 = !MDFile(filename: "k.cc", directory: "/private/tmp")
61 !19 = !{i32 0}
61 !19 = !{}
6262 !20 = !{i32 1, !"Debug Info Version", i32 3}
6868 !16 = !{!10}
6969 !17 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "main_arr", line: 19, scope: !18, file: !6, type: !19)
7070 !18 = distinct !MDLexicalBlock(line: 18, column: 16, file: !29, scope: !14)
71 !19 = !MDCompositeType(tag: DW_TAG_array_type, size: 3200, align: 32, baseType: !10, elements: !20)
71 !19 = !MDCompositeType(tag: DW_TAG_array_type, size: 3200, align: 32, baseType: !10, elements: !{!20})
7272 !20 = !MDSubrange(count: 99)
7373 !22 = !MDLocation(line: 19, column: 7, scope: !18)
7474 !23 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "val", line: 20, scope: !18, file: !6, type: !10)
4949 !16 = distinct !MDLexicalBlock(line: 7, column: 0, file: !18, scope: !1)
5050 !17 = !{!1}
5151 !18 = !MDFile(filename: "a.c", directory: "/tmp/")
52 !19 = !{i32 0}
52 !19 = !{}
5353 !20 = !{i32 1, !"Debug Info Version", i32 3}
103103
104104 !0 = !MDSubprogram(name: "f", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 4, file: !23, scope: !1, type: !3, function: void ()* @f, variables: !22)
105105 !1 = !MDFile(filename: "simple.c", directory: "/home/rengol01/temp/tests/dwarf/relocation")
106 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk)", isOptimized: true, emissionKind: 1, file: !23, enums: !4, retainedTypes: !4, subprograms: !21, imports: null)
106 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk)", isOptimized: true, emissionKind: 1, file: !23, enums: !{}, retainedTypes: !{}, subprograms: !21, imports: null)
107107 !3 = !MDSubroutineType(types: !4)
108108 !4 = !{null}
109109 !5 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "x", line: 5, scope: !6, file: !1, type: !7)
4242 !24 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial, baseType: !18)
4343 !25 = !{!26}
4444 !26 = !{} ; previously: invalid DW_TAG_base_type
45 !27 = !MDDerivedType(tag: DW_TAG_friend, file: !18, baseType: !7)
45 !27 = !MDDerivedType(tag: DW_TAG_friend, file: !28, baseType: !7)
4646 !28 = !MDFile(filename: "foo.cpp", directory: "/Users/echristo/tmp")
4747 !29 = !{i32 1, !"Debug Info Version", i32 3}
4747 !17 = distinct !MDLexicalBlock(line: 11, column: 0, file: !19, scope: !1)
4848 !18 = !{!1}
4949 !19 = !MDFile(filename: "b2.c", directory: "/tmp/")
50 !20 = !{i32 0}
50 !20 = !{}
5151 !21 = !{i32 1, !"Debug Info Version", i32 3}
3434 !11 = !{!1}
3535 !12 = !{!6}
3636 !13 = !MDFile(filename: "a.c", directory: "/private/tmp")
37 !14 = !{i32 0}
37 !14 = !{}
3838 !15 = !{i32 1, !"Debug Info Version", i32 3}
4646 !13 = !{!0}
4747 !14 = !{!6}
4848 !15 = !MDFile(filename: "mu.c", directory: "/private/tmp")
49 !16 = !{i32 0}
49 !16 = !{}
5050 !17 = !{i32 1, !"Debug Info Version", i32 3}
7373
7474 !0 = !MDSubprogram(name: "~A", line: 2, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !51, scope: !1, type: !11)
7575 !1 = !MDCompositeType(tag: DW_TAG_class_type, name: "A", line: 2, size: 128, align: 32, file: !51, scope: !2, elements: !4)
76 !2 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.0 (trunk 130127)", isOptimized: false, emissionKind: 1, file: !51, enums: !24, retainedTypes: !24, subprograms: !50)
76 !2 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.0 (trunk 130127)", isOptimized: false, emissionKind: 1, file: !51, enums: !{}, retainedTypes: !{}, subprograms: !50)
7777 !3 = !MDFile(filename: "a.cc", directory: "/private/tmp")
7878 !4 = !{!5, !7, !8, !9, !0, !10, !14}
7979 !5 = !MDDerivedType(tag: DW_TAG_member, name: "x", line: 2, size: 32, align: 32, file: !51, scope: !3, baseType: !6)
8484 !10 = !MDSubprogram(name: "A", line: 2, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, file: !51, scope: !1, type: !11)
8585 !11 = !MDSubroutineType(types: !12)
8686 !12 = !{null, !13}
87 !13 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial, file: !2, baseType: !1)
87 !13 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial, file: !3, baseType: !1)
8888 !14 = !MDSubprogram(name: "A", line: 2, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, file: !51, scope: !1, type: !15)
8989 !15 = !MDSubroutineType(types: !16)
9090 !16 = !{null, !13, !17}
9191 !17 = !MDDerivedType(tag: DW_TAG_reference_type, scope: !2, baseType: !18)
92 !18 = !MDDerivedType(tag: DW_TAG_const_type, file: !2, baseType: !1)
92 !18 = !MDDerivedType(tag: DW_TAG_const_type, file: !3, baseType: !1)
9393 !19 = !MDSubprogram(name: "foo", linkageName: "_Z3fooi", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !51, scope: !3, type: !20, function: void (%class.A*, i32)* @_Z3fooi)
9494 !20 = !MDSubroutineType(types: !21)
9595 !21 = !{!1}
109109 !35 = !MDLocation(line: 8, column: 3, scope: !34)
110110 !36 = !MDLocation(line: 9, column: 9, scope: !29)
111111 !37 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "my_a", line: 9, scope: !29, file: !3, type: !38)
112 !38 = !MDDerivedType(tag: DW_TAG_reference_type, file: !2, baseType: !1)
112 !38 = !MDDerivedType(tag: DW_TAG_reference_type, file: !3, baseType: !1)
113113 !39 = !MDLocation(line: 9, column: 5, scope: !29)
114114 !40 = !MDLocation(line: 10, column: 3, scope: !29)
115115 !41 = !MDLocation(line: 11, column: 3, scope: !29)
1919 !8 = !{!5}
2020 !9 = !{!6}
2121 !10 = !MDFile(filename: "simple.c", directory: "/Users/manav/one/two")
22 !11 = !{i32 0}
22 !11 = !{}
2323 !12 = !{i32 1, !"Debug Info Version", i32 3}
3030 !12 = !{!3}
3131 !13 = !MDFile(filename: "foo.c", directory: "/tmp")
3232 !14 = !MDFile(filename: "myint.h", directory: "/tmp")
33 !15 = !{i32 0}
33 !15 = !{}
3434 !16 = !{i32 1, !"Debug Info Version", i32 3}
7070 !28 = !{!0, !9}
7171 !29 = !MDFile(filename: "foobar.c", directory: "/tmp")
7272 !30 = !MDFile(filename: "foobar.h", directory: "/tmp")
73 !31 = !{i32 0}
73 !31 = !{}
7474 !32 = !{i32 1, !"Debug Info Version", i32 3}
5454 !16 = !MDLocation(line: 8, column: 2, scope: !17)
5555 !17 = distinct !MDLexicalBlock(line: 7, column: 12, file: !19, scope: !6)
5656 !19 = !MDFile(filename: "/tmp/a.c", directory: "/private/tmp")
57 !20 = !{i32 0}
57 !20 = !{}
5858 !21 = !{i32 1, !"Debug Info Version", i32 3}
3535 !9 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "gid", line: 3, scope: !10, file: !1, type: !6)
3636 !10 = distinct !MDLexicalBlock(line: 2, column: 1, file: !19, scope: !0)
3737 !11 = !MDLocation(line: 3, column: 41, scope: !10)
38 !12 = !{i32 0}
38 !12 = !{}
3939 !13 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "idx", line: 4, scope: !10, file: !1, type: !6)
4040 !14 = !MDLocation(line: 4, column: 20, scope: !10)
4141 !15 = !MDLocation(line: 5, column: 15, scope: !10)
7575
7676 !0 = !MDSubprogram(name: "foo", line: 8, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 8, file: !1, scope: !1, type: !3, function: i32 (%struct.S1*, i32)* @foo, variables: !41)
7777 !1 = !MDFile(filename: "nm2.c", directory: "/private/tmp")
78 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 2.9 (trunk 125693)", isOptimized: true, emissionKind: 1, file: !42, enums: !8, retainedTypes: !8, subprograms: !39, globals: !40, imports: !44)
78 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 2.9 (trunk 125693)", isOptimized: true, emissionKind: 1, file: !42, enums: !{}, retainedTypes: !{}, subprograms: !39, globals: !40, imports: !44)
7979 !3 = !MDSubroutineType(types: !4)
8080 !4 = !{!5}
8181 !5 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
101101 !18 = !MDLocation(line: 10, column: 1, scope: !0)
102102 !19 = !{!0}
103103 !20 = !MDFile(filename: "OCLlLwTXZ.cl", directory: "/tmp")
104 !21 = !{i32 0}
104 !21 = !{}
105105 !22 = !{i32 1, !"Debug Info Version", i32 3}
7474 !25 = !MDFile(filename: "f.i", directory: "/tmp")
7575 !26 = !MDFile(filename: "/tmp/f.c", directory: "/tmp")
7676 !27 = !MDFile(filename: "f.i", directory: "/tmp")
77 !28 = !{i32 0}
77 !28 = !{}
7878 !29 = !{i32 1, !"Debug Info Version", i32 3}
3939 !20 = !{!0}
4040 !21 = !{!6, !11}
4141 !22 = !MDFile(filename: "bar.c", directory: "/private/tmp")
42 !23 = !{i32 0}
42 !23 = !{}
4343
4444 ; Check that variable bar:b value range is appropriately truncated in debug info.
4545 ; The variable is in %rdi which is clobbered by 'movl %ebx, %edi'
128128 !18 = !{!1}
129129 !19 = !{!6, !7, !10}
130130 !20 = !MDFile(filename: "a.c", directory: "/private/tmp")
131 !21 = !{i32 0}
131 !21 = !{}
132132 !22 = !{i32 1, !"Debug Info Version", i32 3}
1414
1515 !0 = !MDSubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 1, file: !6, scope: !1, type: !3, function: void ()* @f)
1616 !1 = !MDFile(filename: "/home/espindola/llvm/test.c", directory: "/home/espindola/llvm/build")
17 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !6, enums: !4, retainedTypes: !4, subprograms: !5)
17 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !6, enums: !{}, retainedTypes: !{}, subprograms: !5)
1818 !3 = !MDSubroutineType(types: !4)
1919 !4 = !{null}
2020 !6 = !MDFile(filename: "/home/espindola/llvm/test.c", directory: "/home/espindola/llvm/build")
8989 !43 = !MDFile(filename: "stddef.h", directory: "/Users/espindola/llvm/build-llvm-gcc/./prev-gcc/include")
9090 !44 = !MDFile(filename: "darwin-c.c", directory: "/Users/espindola/llvm/build-llvm-gcc/gcc/../../llvm-gcc-4.2/gcc/config")
9191 !45 = !{!2}
92 !46 = !{i32 0}
92 !46 = !{}
9393 !47 = !{i32 1, !"Debug Info Version", i32 3}
6464 !llvm.module.flags = !{!22, !23}
6565 !llvm.ident = !{!24}
6666
67 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
67 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !{}, retainedTypes: !{}, subprograms: !3, globals: !{}, imports: !{})
6868 !1 = !MDFile(filename: "sroasplit-1.c", directory: "")
6969 !2 = !MDExpression()
7070 !3 = !{!4}
71 !4 = !MDSubprogram(name: "foo", line: 10, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 10, file: !1, scope: !5, type: !6, function: i32 (%struct.Outer*)* @foo, variables: !2)
71 !4 = !MDSubprogram(name: "foo", line: 10, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 10, file: !1, scope: !5, type: !6, function: i32 (%struct.Outer*)* @foo, variables: !{})
7272 !5 = !MDFile(filename: "sroasplit-1.c", directory: "")
7373 !6 = !MDSubroutineType(types: !7)
7474 !7 = !{!8, !9}
7070 !llvm.module.flags = !{!21, !22}
7171 !llvm.ident = !{!23}
7272
73 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
73 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !{}, retainedTypes: !{}, subprograms: !3, globals: !{}, imports: !{})
7474 !1 = !MDFile(filename: "sroasplit-2.c", directory: "")
7575 !2 = !MDExpression()
7676 !3 = !{!4}
1515
1616 !0 = !MDSubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 1, file: !6, scope: !1, type: !3, function: void ()* @f)
1717 !1 = !MDFile(filename: "test2.c", directory: "/home/espindola/llvm")
18 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !6, enums: !4, retainedTypes: !4, subprograms: !5)
18 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !6, enums: !{}, retainedTypes: !{}, subprograms: !5)
1919 !3 = !MDSubroutineType(types: !4)
2020 !4 = !{null}
2121 !6 = !MDFile(filename: "test2.c", directory: "/home/espindola/llvm")
2323 !0 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "zzz", line: 3, arg: 1, scope: !1, file: !2, type: !6)
2424 !1 = !MDSubprogram(name: "f", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 3, file: !10, scope: !2, type: !4, function: i16 (i16)* @f)
2525 !2 = !MDFile(filename: "/home/espindola/llvm/test.c", directory: "/home/espindola/tmpfs/build")
26 !3 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: false, emissionKind: 1, file: !10, enums: !5, retainedTypes: !5, subprograms: !9, imports: null)
26 !3 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: false, emissionKind: 1, file: !10, enums: !{}, retainedTypes: !{}, subprograms: !9, imports: null)
2727 !4 = !MDSubroutineType(types: !5)
2828 !5 = !{null}
2929 !6 = !MDBasicType(tag: DW_TAG_base_type, name: "short", size: 16, align: 16, encoding: DW_ATE_signed)
3535 !12 = !MDLocation(line: 5, column: 3, scope: !7)
3636 !13 = !{!0}
3737 !14 = !MDFile(filename: "array.c", directory: "/private/tmp")
38 !15 = !{i32 0}
38 !15 = !{}
3939 !16 = !{i32 1, !"Debug Info Version", i32 3}
2323
2424 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (192092)", isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
2525 !1 = !MDFile(filename: "test1.c", directory: "/tmp")
26 !2 = !{i32 0}
26 !2 = !{}
2727 !3 = !{!4}
2828 !4 = !MDSubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void ()* @f, variables: !2)
2929 !5 = !MDFile(filename: "test1.c", directory: "/tmp")
123123
124124 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 ", isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
125125 !1 = !MDFile(filename: "", directory: "")
126 !2 = !{i32 0}
126 !2 = !{}
127127 !3 = !{!4, !10}
128128 !4 = !MDSubprogram(name: "test", linkageName: "_Z4testi", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 4, file: !5, scope: !6, type: !7, function: i32 (i32)* @_Z4testi, variables: !2)
129129 !5 = !MDFile(filename: "test.cpp", directory: "")
141141
142142 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 ", isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
143143 !1 = !MDFile(filename: "", directory: "")
144 !2 = !{i32 0}
144 !2 = !{}
145145 !3 = !{!4, !10}
146146 !4 = !MDSubprogram(name: "test", linkageName: "_Z4testi", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 4, file: !5, scope: !6, type: !7, function: i32 (i32)* @_Z4testi, variables: !2)
147147 !5 = !MDFile(filename: "test.cpp", directory: "")
3333 !llvm.module.flags = !{!17}
3434
3535 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 169314)", isOptimized: true, emissionKind: 0, file: !16, enums: !1, retainedTypes: !1, subprograms: !3, globals: !1)
36 !1 = !{i32 0}
36 !1 = !{}
3737 !3 = !{!5}
3838 !5 = !MDSubprogram(name: "zzz", linkageName: "_Z3zzzi", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !16, scope: !6, type: !7, function: i32 (i32)* @_Z3zzzi, variables: !1)
3939 !6 = !MDFile(filename: "a.cc", directory: "/usr/local/google/llvm_cmake_clang/tmp/debuginfo")
2525 !6 = !MDLocation(line: 2, column: 13, scope: !7)
2626 !7 = distinct !MDLexicalBlock(line: 2, column: 11, file: !8, scope: !1)
2727 !8 = !MDFile(filename: "a.c", directory: "/private/tmp")
28 !9 = !{i32 0}
28 !9 = !{}
2929 !10 = !{!1}
3030 !11 = !{i32 1, !"Debug Info Version", i32 3}
2222 !6 = !MDLocation(line: 1, column: 13, scope: !7)
2323 !7 = distinct !MDLexicalBlock(line: 1, column: 11, file: !8, scope: !1)
2424 !8 = !MDFile(filename: "b.c", directory: "/private/tmp")
25 !9 = !{i32 0}
25 !9 = !{}
2626 !10 = !{!1}
2727 !11 = !{i32 1, !"Debug Info Version", i32 3}
2323 !llvm.dbg.sp = !{!1}
2424 !llvm.dbg.gv = !{!5}
2525
26 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !9, enums: !4, retainedTypes: !4, subprograms: !10)
26 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !9, enums: !{}, retainedTypes: !{}, subprograms: !10)
2727 !1 = !MDSubprogram(name: "foo", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !9, scope: !2, type: !3, function: void ()* @foo)
2828 !2 = !MDFile(filename: "/tmp/one.c", directory: "/Volumes/Lalgate/Slate/D")
2929 !3 = !MDSubroutineType(types: !4)
1818 !llvm.dbg.sp = !{!1}
1919 !llvm.dbg.gv = !{!5}
2020
21 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !9, enums: !4, retainedTypes: !4, subprograms: !10)
21 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: 0, file: !9, enums: !{}, retainedTypes: !{}, subprograms: !10)
2222 !1 = !MDSubprogram(name: "bar", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !9, scope: !2, type: !3, function: void ()* @bar)
2323 !2 = !MDFile(filename: "/tmp/two.c", directory: "/Volumes/Lalgate/Slate/D")
2424 !3 = !MDSubroutineType(types: !4)
2121
2222 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.0 (trunk 137954)", isOptimized: true, emissionKind: 0, file: !16, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2)
2323 !1 = !{!2}
24 !2 = !{i32 0}
24 !2 = !{}
2525 !3 = !{!5}
2626 !5 = !MDSubprogram(name: "foo", linkageName: "_Z3fooN2N11AE", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !16, scope: !6, type: !7, function: void ()* @_Z3fooN2N11AE)
2727 !6 = !MDFile(filename: "n1.c", directory: "/private/tmp")
1919
2020 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.0 (trunk 137954)", isOptimized: true, emissionKind: 0, file: !16, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2)
2121 !1 = !{!2}
22 !2 = !{i32 0}
22 !2 = !{}
2323 !3 = !{!5}
2424 !5 = !MDSubprogram(name: "bar", linkageName: "_Z3barN2N11AE", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scope: !6, type: !7, function: void ()* @_Z3barN2N11AE)
2525 !6 = !MDFile(filename: "n2.c", directory: "/private/tmp")
1313
1414 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 137954)", isOptimized: true, emissionKind: 0, file: !12, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2)
1515 !1 = !{!2}
16 !2 = !{i32 0}
16 !2 = !{}
1717 !3 = !{!5}
1818 !5 = !MDSubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !12, scope: !6, type: !7, function: i32 ()* @foo)
1919 !6 = !MDFile(filename: "one.c", directory: "/private/tmp")
1313
1414 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 137954)", isOptimized: true, emissionKind: 0, file: !12, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2)
1515 !1 = !{!2}
16 !2 = !{i32 0}
16 !2 = !{}
1717 !3 = !{!5}
1818 !5 = !MDSubprogram(name: "bar", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !12, scope: !6, type: !7, function: i32 ()* @bar)
1919 !6 = !MDFile(filename: "two.c", directory: "/private/tmp")
3838
3939 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 173515)", isOptimized: true, emissionKind: 0, file: !20, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2)
4040 !1 = !{!2}
41 !2 = !{i32 0}
41 !2 = !{}
4242 !3 = !{!5}
4343 !5 = !MDSubprogram(name: "main", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 4, file: !20, scope: null, type: !7, function: i32 (i32, i8**)* @main, variables: !1)
4444 !6 = !MDFile(filename: "main.cpp", directory: "/private/tmp")
5151
5252 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 173515)", isOptimized: true, emissionKind: 0, file: !25, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2)
5353 !1 = !{!2}
54 !2 = !{i32 0}
54 !2 = !{}
5555 !3 = !{!5}
5656 !5 = !MDSubprogram(name: "print_args", linkageName: "test", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 5, file: !26, scope: null, type: !7, function: void (i32, i8**)* @test, variables: !1)
5757 !6 = !MDFile(filename: "test.cpp", directory: "/private/tmp")
6767
6868 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 (http://llvm.org/git/clang.git f54e02f969d02d640103db73efc30c45439fceab) (http://llvm.org/git/llvm.git 284353b55896cb1babfaa7add7c0a363245342d2)", isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !3, subprograms: !14, globals: !2, imports: !2)
6969 !1 = !MDFile(filename: "foo.cpp", directory: "/Users/mren/c_testing/type_unique_air/inher")
70 !2 = !{i32 0}
70 !2 = !{}
7171 !3 = !{!4, !8}
7272 !4 = !MDCompositeType(tag: DW_TAG_class_type, name: "A", line: 3, size: 64, align: 32, file: !5, elements: !6, identifier: "_ZTS1A")
7373 !5 = !MDFile(filename: "./a.hpp", directory: "/Users/mren/c_testing/type_unique_air/inher")
4141
4242 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 (http://llvm.org/git/clang.git f54e02f969d02d640103db73efc30c45439fceab) (http://llvm.org/git/llvm.git 284353b55896cb1babfaa7add7c0a363245342d2)", isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !3, subprograms: !19, globals: !2, imports: !2)
4343 !1 = !MDFile(filename: "bar.cpp", directory: "/Users/mren/c_testing/type_unique_air/inher")
44 !2 = !{i32 0}
44 !2 = !{}
4545 !3 = !{!4, !11, !15}
4646 !4 = !MDCompositeType(tag: DW_TAG_class_type, name: "B", line: 7, size: 128, align: 64, file: !5, elements: !6, identifier: "_ZTS1B")
4747 !5 = !MDFile(filename: "./b.hpp", directory: "/Users/mren/c_testing/type_unique_air/inher")
7373 !26 = !MDLocation(line: 24, scope: !25)
7474 !27 = !MDLocation(line: 26, scope: !25)
7575 !28 = !MDFile(filename: "tail.c", directory: "/Users/echeng/LLVM/radars/r7927803/")
76 !29 = !{i32 0}
76 !29 = !{}
7777 !30 = !{i32 1, !"Debug Info Version", i32 3}
1515 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 177323)", isOptimized: false, emissionKind: 0, file: !2, enums: !3, retainedTypes: !3, subprograms: !4, globals: !3, imports: !3)
1616 !1 = !MDFile(filename: "hello.cc", directory: "/home/nlewycky")
1717 !2 = !MDFile(filename: "hello.cc", directory: "/home/nlewycky")
18 !3 = !{i32 0}
18 !3 = !{}
1919 !4 = !{!5}
2020 !5 = !MDSubprogram(name: "foo", linkageName: "_Z3foov", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !1, type: !6, function: void ()* @_Z3foov, variables: !3)
2121 !6 = !MDSubroutineType(types: !7)
4646 !llvm.module.flags = !{!3, !4}
4747 !llvm.ident = !{!5}
4848
49 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !6, globals: !2, imports: !2)
49 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !{!6}, globals: !2, imports: !2)
5050 !1 = !MDFile(filename: "test.c", directory: "")
5151 !2 = !{}
5252 !3 = !{i32 2, !"Dwarf Version", i32 4}
1616
1717 !0 = !MDSubprogram(name: "foo", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !8, scope: !1, type: !3, function: void ()* @foo)
1818 !1 = !MDFile(filename: "m.c", directory: "/private/tmp")
19 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang", isOptimized: true, emissionKind: 0, file: !8, enums: !4, retainedTypes: !4, subprograms: !9)
19 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang", isOptimized: true, emissionKind: 0, file: !8, enums: !{}, retainedTypes: !{}, subprograms: !9)
2020 !3 = !MDSubroutineType(types: !4)
2121 !4 = !{null}
2222 !5 = !MDLocation(line: 5, column: 2, scope: !6)
5454 !26 = !MDFile(filename: "bits.c", directory: "Game")
5555 !27 = !MDFile(filename: "string.h", directory: "Game")
5656 !28 = !MDFile(filename: "bits.c", directory: "Game")
57 !29 = !{i32 0}
57 !29 = !{}
5858 !30 = !{i32 1, !"Debug Info Version", i32 3}
3838 !6 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, scope: !2, baseType: !7)
3939 !7 = !MDBasicType(tag: DW_TAG_base_type, name: "double", size: 64, align: 64, encoding: DW_ATE_float)
4040 !8 = !MDLocation(line: 2, column: 18, scope: !0)
41 !9 = !{i32 0}
41 !9 = !{}
4242 !10 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 3, scope: !11, file: !1, type: !13)
4343 !11 = distinct !MDLexicalBlock(line: 3, column: 3, file: !18, scope: !12)
4444 !12 = distinct !MDLexicalBlock(line: 2, column: 21, file: !18, scope: !0)
4444 !llvm.module.flags = !{!26}
4545
4646 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang", isOptimized: true, emissionKind: 0, file: !25, enums: !1, retainedTypes: !1, subprograms: !2, globals: !11)
47 !1 = !{i32 0}
47 !1 = !{}
4848 !2 = !{!3}
4949 !3 = !MDSubprogram(name: "test", linkageName: "test", line: 5, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 5, file: !25, scope: !4, type: !5, function: i32 ()* @test, variables: !8)
5050 !4 = !MDFile(filename: "test", directory: "/path/to/somewhere")
6464
6565 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (trunk 185038) (llvm/trunk 185097)", isOptimized: true, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
6666 !1 = !MDFile(filename: "-", directory: "/Volumes/Data/backedup/dev/os/llvm/debug")
67 !2 = !{i32 0}
67 !2 = !{}
6868 !3 = !{!4}
6969 !4 = !MDSubprogram(name: "f", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 3, file: !5, scope: !6, type: !7, function: i32 (i32*, i32)* @f, variables: !12)
7070 !5 = !MDFile(filename: "", directory: "/Volumes/Data/backedup/dev/os/llvm/debug")
4747 !10 = !MDLocation(line: 3, scope: !11)
4848 !11 = distinct !MDLexicalBlock(line: 2, column: 0, file: !12, scope: !1)
4949 !12 = !MDFile(filename: "testfunc.c", directory: "/tmp")
50 !13 = !{i32 0}
50 !13 = !{}
5151 !14 = !{i32 1, !"Debug Info Version", i32 3}
5252 !18 = !MDLocation(line: 5, scope: !10, inlinedAt: !8)
5353 !19 = !MDLocation(line: 10, scope: !1)
5454 !20 = !MDFile(filename: "bar.c", directory: "/tmp/")
55 !21 = !{i32 0}
55 !21 = !{}
5656 !22 = !{i32 1, !"Debug Info Version", i32 3}
113113 !llvm.module.flags = !{!33, !34, !35, !36, !61}
114114
115115 !0 = !MDCompileUnit(language: DW_LANG_ObjC, producer: "clang version 3.3 ", isOptimized: true, runtimeVersion: 2, emissionKind: 0, file: !60, enums: !1, retainedTypes: !1, subprograms: !3, globals: !1)
116 !1 = !{i32 0}
116 !1 = !{}
117117 !3 = !{!5, !27}
118118 !5 = !MDSubprogram(name: "main", line: 9, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: true, scopeLine: 10, file: !60, scope: !6, type: !7, function: i32 ()* @main, variables: !10)
119119 !6 = !MDFile(filename: "test.m", directory: "/Volumes/Files/gottesmmcab/Radar/12906997")
5858
5959 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (trunk 187335) (llvm/trunk 187335:187340M)", isOptimized: true, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
6060 !1 = !MDFile(filename: "file.c", directory: "/Users/nadav")
61 !2 = !{i32 0}
61 !2 = !{}
6262 !3 = !{!4}
6363 !4 = !MDSubprogram(name: "depth", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 1, file: !1, scope: !5, type: !6, function: i32 (double*, i32)* @depth, variables: !11)
6464 !5 = !MDFile(filename: "file.c", directory: "/Users/nadav")
9999
100100 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 (trunk 192896) (llvm/trunk 192895)", isOptimized: true, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
101101 !1 = !MDFile(filename: "branch.cc", directory: ".")
102 !2 = !{i32 0}
102 !2 = !{}
103103 !3 = !{!4}
104104 !4 = !MDSubprogram(name: "main", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 4, file: !1, scope: !5, type: !6, function: i32 (i32, i8**)* @main, variables: !12)
105105 !5 = !MDFile(filename: "branch.cc", directory: ".")
6060 !16 = !MDLocation(line: 5, column: 5, scope: !11)
6161 !17 = !{!1}
6262 !18 = !MDFile(filename: "/d/j/debug-test.c", directory: "/Volumes/Data/b")
63 !19 = !{i32 0}
63 !19 = !{}
6464 !20 = !{i32 1, !"Debug Info Version", i32 3}
5858
5959 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (trunk 194134) (llvm/trunk 194126)", isOptimized: true, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
6060 !1 = !MDFile(filename: "/tmp/add.c", directory: "/home/richards/llvm/build")
61 !2 = !{i32 0}
61 !2 = !{}
6262 !3 = !{!4}
6363 !4 = !MDSubprogram(name: "f1", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 4, file: !1, scope: !5, type: !6, function: void (<4 x i32>*, <4 x i32>*, <4 x i32>*)* @f1, variables: !14)
6464 !5 = !MDFile(filename: "/tmp/add.c", directory: "/home/richards/llvm/build")
1212
1313 !0 = !MDSubprogram(name: "foo", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !8, scope: !1, type: !3, function: void ()* @foo)
1414 !1 = !MDFile(filename: "foo.c", directory: "/private/tmp")
15 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "Apple clang version 3.0 (tags/Apple/clang-206.1) (based on LLVM 3.0svn)", isOptimized: true, emissionKind: 0, file: !8, enums: !4, retainedTypes: !4, subprograms: !9)
15 !2 = !MDCompileUnit(language: DW_LANG_C99, producer: "Apple clang version 3.0 (tags/Apple/clang-206.1) (based on LLVM 3.0svn)", isOptimized: true, emissionKind: 0, file: !8, enums: !{}, retainedTypes: !{}, subprograms: !9)
1616 !3 = !MDSubroutineType(types: !4)
1717 !4 = !{null}
1818 !5 = !MDLocation(line: 4, column: 2, scope: !6)
1717 !8 = !MDLocation(line: 3, column: 13, scope: !9)
1818 !9 = distinct !MDLexicalBlock(line: 3, column: 11, file: !10, scope: !0)
1919 !10 = !MDFile(filename: "/tmp/a.c", directory: "/Volumes/Lalgate/clean/D.CW")
20 !11 = !{i32 0}
20 !11 = !{}
2121 !12 = !{!0}
2222 !13 = !{!6}
2323 !14 = !{i32 1, !"Debug Info Version", i32 3}
2929 !llvm.dbg.cu = !{!0}
3030 !llvm.module.flags = !{!25}
3131
32 !0 = !MDCompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !23, globals: !24)
32 !0 = !MDCompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: 1, file: !1, enums: !{}, retainedTypes: !{}, subprograms: !23, globals: !24)
3333 !1 = !MDFile(filename: "g.c", directory: "/tmp/")
3434 !2 = !{null}
3535 !3 = !MDSubprogram(name: "bar", line: 5, isLocal: true, isDefinition: true, virtualIndex: 6, isOptimized: true, file: !1, scope: null, type: !4)