DI: Remove DW_TAG_arg_variable and DW_TAG_auto_variable
[oota-llvm.git] / test / DebugInfo / X86 / 2011-12-16-BadStructRef.ll
index fc3f69b3584c05b21bcbf791fd88ff6c3a968131..5bd068e0cc530a2b3431a0f1910abb95a329e071 100644 (file)
@@ -129,35 +129,35 @@ entry:
 !44 = !{!45}
 !45 = !{} ; previously: invalid DW_TAG_base_type
 !46 = !DISubprogram(name: "baz", linkageName: "_ZN3bazC2Ei", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: null, type: !14, function: void (%struct.baz*, i32)* @_ZN3bazC2Ei, declaration: !13)
 !44 = !{!45}
 !45 = !{} ; previously: invalid DW_TAG_base_type
 !46 = !DISubprogram(name: "baz", linkageName: "_ZN3bazC2Ei", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: null, type: !14, function: void (%struct.baz*, i32)* @_ZN3bazC2Ei, declaration: !13)
-!49 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "argc", line: 16, arg: 1, scope: !29, file: !6, type: !12)
+!49 = !DILocalVariable(name: "argc", line: 16, arg: 1, scope: !29, file: !6, type: !12)
 !50 = !DILocation(line: 16, column: 14, scope: !29)
 !50 = !DILocation(line: 16, column: 14, scope: !29)
-!51 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "argv", line: 16, arg: 2, scope: !29, file: !6, type: !32)
+!51 = !DILocalVariable(name: "argv", line: 16, arg: 2, scope: !29, file: !6, type: !32)
 !52 = !DILocation(line: 16, column: 27, scope: !29)
 !52 = !DILocation(line: 16, column: 27, scope: !29)
-!53 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "myBar", line: 18, scope: !54, file: !6, type: !5)
+!53 = !DILocalVariable(name: "myBar", line: 18, scope: !54, file: !6, type: !5)
 !54 = distinct !DILexicalBlock(line: 17, column: 1, file: !82, scope: !29)
 !55 = !DILocation(line: 18, column: 9, scope: !54)
 !56 = !DILocation(line: 18, column: 17, scope: !54)
 !57 = !DILocation(line: 19, column: 5, scope: !54)
 !54 = distinct !DILexicalBlock(line: 17, column: 1, file: !82, scope: !29)
 !55 = !DILocation(line: 18, column: 9, scope: !54)
 !56 = !DILocation(line: 18, column: 17, scope: !54)
 !57 = !DILocation(line: 19, column: 5, scope: !54)
-!58 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", line: 13, arg: 1, flags: DIFlagArtificial, scope: !37, file: !6, type: !24)
+!58 = !DILocalVariable(name: "this", line: 13, arg: 1, flags: DIFlagArtificial, scope: !37, file: !6, type: !24)
 !59 = !DILocation(line: 13, column: 5, scope: !37)
 !59 = !DILocation(line: 13, column: 5, scope: !37)
-!60 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 13, arg: 2, scope: !37, file: !6, type: !12)
+!60 = !DILocalVariable(name: "x", line: 13, arg: 2, scope: !37, file: !6, type: !12)
 !61 = !DILocation(line: 13, column: 13, scope: !37)
 !62 = !DILocation(line: 13, column: 34, scope: !37)
 !61 = !DILocation(line: 13, column: 13, scope: !37)
 !62 = !DILocation(line: 13, column: 34, scope: !37)
-!63 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", line: 13, arg: 1, flags: DIFlagArtificial, scope: !40, file: !6, type: !24)
+!63 = !DILocalVariable(name: "this", line: 13, arg: 1, flags: DIFlagArtificial, scope: !40, file: !6, type: !24)
 !64 = !DILocation(line: 13, column: 5, scope: !40)
 !64 = !DILocation(line: 13, column: 5, scope: !40)
-!65 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 13, arg: 2, scope: !40, file: !6, type: !12)
+!65 = !DILocalVariable(name: "x", line: 13, arg: 2, scope: !40, file: !6, type: !12)
 !66 = !DILocation(line: 13, column: 13, scope: !40)
 !67 = !DILocation(line: 13, column: 33, scope: !40)
 !68 = !DILocation(line: 13, column: 34, scope: !69)
 !69 = distinct !DILexicalBlock(line: 13, column: 33, file: !82, scope: !40)
 !66 = !DILocation(line: 13, column: 13, scope: !40)
 !67 = !DILocation(line: 13, column: 33, scope: !40)
 !68 = !DILocation(line: 13, column: 34, scope: !69)
 !69 = distinct !DILexicalBlock(line: 13, column: 33, file: !82, scope: !40)
-!70 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", line: 6, arg: 1, flags: DIFlagArtificial, scope: !43, file: !6, type: !16)
+!70 = !DILocalVariable(name: "this", line: 6, arg: 1, flags: DIFlagArtificial, scope: !43, file: !6, type: !16)
 !71 = !DILocation(line: 6, column: 5, scope: !43)
 !71 = !DILocation(line: 6, column: 5, scope: !43)
-!72 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 6, arg: 2, scope: !43, file: !6, type: !12)
+!72 = !DILocalVariable(name: "a", line: 6, arg: 2, scope: !43, file: !6, type: !12)
 !73 = !DILocation(line: 6, column: 13, scope: !43)
 !74 = !DILocation(line: 6, column: 24, scope: !43)
 !73 = !DILocation(line: 6, column: 13, scope: !43)
 !74 = !DILocation(line: 6, column: 24, scope: !43)
-!75 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", line: 6, arg: 1, flags: DIFlagArtificial, scope: !46, file: !6, type: !16)
+!75 = !DILocalVariable(name: "this", line: 6, arg: 1, flags: DIFlagArtificial, scope: !46, file: !6, type: !16)
 !76 = !DILocation(line: 6, column: 5, scope: !46)
 !76 = !DILocation(line: 6, column: 5, scope: !46)
-!77 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 6, arg: 2, scope: !46, file: !6, type: !12)
+!77 = !DILocalVariable(name: "a", line: 6, arg: 2, scope: !46, file: !6, type: !12)
 !78 = !DILocation(line: 6, column: 13, scope: !46)
 !79 = !DILocation(line: 6, column: 23, scope: !46)
 !80 = !DILocation(line: 6, column: 24, scope: !81)
 !78 = !DILocation(line: 6, column: 13, scope: !46)
 !79 = !DILocation(line: 6, column: 23, scope: !46)
 !80 = !DILocation(line: 6, column: 24, scope: !81)