diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-07-31 18:58:39 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-07-31 18:58:39 +0000 |
| commit | ed013cd221aea3911dc0c8f33948c05799f751c0 (patch) | |
| tree | a164aebf28e64bfda6398d88c50d41ce4acf9ed3 /llvm/test/Linker | |
| parent | 0aeed7c0b864f51e64a006a1a17172bfaab8998c (diff) | |
| download | bcm5719-llvm-ed013cd221aea3911dc0c8f33948c05799f751c0.tar.gz bcm5719-llvm-ed013cd221aea3911dc0c8f33948c05799f751c0.zip | |
DI: Remove DW_TAG_arg_variable and DW_TAG_auto_variable
Remove the fake `DW_TAG_auto_variable` and `DW_TAG_arg_variable` tags,
using `DW_TAG_variable` in their place Stop exposing the `tag:` field at
all in the assembly format for `DILocalVariable`.
Most of the testcase updates were generated by the following sed script:
find test/ -name "*.ll" -o -name "*.mir" |
xargs grep -l 'DILocalVariable' |
xargs sed -i '' \
-e 's/tag: DW_TAG_arg_variable, //' \
-e 's/tag: DW_TAG_auto_variable, //'
There were only a handful of tests in `test/Assembly` that I needed to
update by hand.
(Note: a follow-up could change `DILocalVariable::DILocalVariable()` to
set the tag to `DW_TAG_formal_parameter` instead of `DW_TAG_variable`
(as appropriate), instead of having that logic magically in the backend
in `DbgVariable`. I've added a FIXME to that effect.)
llvm-svn: 243774
Diffstat (limited to 'llvm/test/Linker')
| -rw-r--r-- | llvm/test/Linker/2011-08-18-unique-class-type.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/2011-08-18-unique-class-type2.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/DbgDeclare.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Linker/DbgDeclare2.ll | 6 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/type-unique-inheritance-a.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/type-unique-inheritance-b.ll | 6 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/type-unique-simple2-a.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/type-unique-simple2-b.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Linker/type-unique-odr-a.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/type-unique-odr-b.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/type-unique-simple-a.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Linker/type-unique-simple-b.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Linker/type-unique-simple2-a.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Linker/type-unique-simple2-b.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Linker/type-unique-type-array-a.ll | 8 | ||||
| -rw-r--r-- | llvm/test/Linker/type-unique-type-array-b.ll | 8 |
16 files changed, 34 insertions, 34 deletions
diff --git a/llvm/test/Linker/2011-08-18-unique-class-type.ll b/llvm/test/Linker/2011-08-18-unique-class-type.ll index 1692a90bf7e..02bc862f404 100644 --- a/llvm/test/Linker/2011-08-18-unique-class-type.ll +++ b/llvm/test/Linker/2011-08-18-unique-class-type.ll @@ -28,7 +28,7 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone !6 = !DIFile(filename: "n1.c", directory: "/private/tmp") !7 = !DISubroutineType(types: !8) !8 = !{null} -!9 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "mya", line: 4, arg: 1, scope: !5, file: !6, type: !10) +!9 = !DILocalVariable(name: "mya", line: 4, arg: 1, scope: !5, file: !6, type: !10) !10 = !DICompositeType(tag: DW_TAG_class_type, name: "A", line: 3, size: 8, align: 8, file: !17, scope: !11, elements: !2) !11 = !DINamespace(name: "N1", line: 2, file: !17, scope: null) !12 = !DIFile(filename: "./n.h", directory: "/private/tmp") diff --git a/llvm/test/Linker/2011-08-18-unique-class-type2.ll b/llvm/test/Linker/2011-08-18-unique-class-type2.ll index 1befb4deacc..ecbdbbbe0b7 100644 --- a/llvm/test/Linker/2011-08-18-unique-class-type2.ll +++ b/llvm/test/Linker/2011-08-18-unique-class-type2.ll @@ -26,7 +26,7 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone !6 = !DIFile(filename: "n2.c", directory: "/private/tmp") !7 = !DISubroutineType(types: !8) !8 = !{null} -!9 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "youra", line: 4, arg: 1, scope: !5, file: !6, type: !10) +!9 = !DILocalVariable(name: "youra", line: 4, arg: 1, scope: !5, file: !6, type: !10) !10 = !DICompositeType(tag: DW_TAG_class_type, name: "A", line: 3, size: 8, align: 8, file: !17, scope: !11, elements: !2) !11 = !DINamespace(name: "N1", line: 2, file: !17, scope: null) !12 = !DIFile(filename: "./n.h", directory: "/private/tmp") diff --git a/llvm/test/Linker/DbgDeclare.ll b/llvm/test/Linker/DbgDeclare.ll index a6ffa915c07..3aa170131c6 100644 --- a/llvm/test/Linker/DbgDeclare.ll +++ b/llvm/test/Linker/DbgDeclare.ll @@ -49,9 +49,9 @@ declare void @test(i32, i8**) !11 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !12) !12 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !13) !13 = !DIBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char) -!14 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "argc", line: 3, arg: 1, scope: !5, file: !6, type: !9) +!14 = !DILocalVariable(name: "argc", line: 3, arg: 1, scope: !5, file: !6, type: !9) !15 = !DILocation(line: 3, scope: !5) -!16 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "argv", line: 3, arg: 2, scope: !5, file: !6, type: !10) +!16 = !DILocalVariable(name: "argv", line: 3, arg: 2, scope: !5, file: !6, type: !10) !17 = !DILocation(line: 5, scope: !18) !18 = distinct !DILexicalBlock(line: 4, column: 0, file: !20, scope: !5) !19 = !DILocation(line: 6, scope: !18) diff --git a/llvm/test/Linker/DbgDeclare2.ll b/llvm/test/Linker/DbgDeclare2.ll index b716833ecc6..e2f5adbf98e 100644 --- a/llvm/test/Linker/DbgDeclare2.ll +++ b/llvm/test/Linker/DbgDeclare2.ll @@ -62,10 +62,10 @@ declare i32 @puts(i8*) !11 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !12) !12 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !13) !13 = !DIBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char) -!14 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "argc", line: 4, arg: 1, scope: !5, file: !6, type: !9) +!14 = !DILocalVariable(name: "argc", line: 4, arg: 1, scope: !5, file: !6, type: !9) !15 = !DILocation(line: 4, scope: !5) -!16 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "argv", line: 4, arg: 2, scope: !5, file: !6, type: !10) -!17 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 6, scope: !18, file: !6, type: !9) +!16 = !DILocalVariable(name: "argv", line: 4, arg: 2, scope: !5, file: !6, type: !10) +!17 = !DILocalVariable(name: "i", line: 6, scope: !18, file: !6, type: !9) !18 = distinct !DILexicalBlock(line: 6, column: 0, file: !26, scope: !19) !19 = distinct !DILexicalBlock(line: 5, column: 0, file: !26, scope: !5) !20 = !DILocation(line: 6, scope: !18) diff --git a/llvm/test/Linker/Inputs/type-unique-inheritance-a.ll b/llvm/test/Linker/Inputs/type-unique-inheritance-a.ll index 75cc7e1c838..2bb13ec894f 100644 --- a/llvm/test/Linker/Inputs/type-unique-inheritance-a.ll +++ b/llvm/test/Linker/Inputs/type-unique-inheritance-a.ll @@ -86,9 +86,9 @@ attributes #1 = { nounwind readnone } !17 = !DISubroutineType(types: !18) !18 = !{null, !12} !19 = !{i32 2, !"Dwarf Version", i32 2} -!20 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 5, arg: 1, scope: !15, file: !16, type: !12) +!20 = !DILocalVariable(name: "a", line: 5, arg: 1, scope: !15, file: !16, type: !12) !21 = !DILocation(line: 5, scope: !15) -!22 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "t", line: 6, scope: !15, file: !16, type: !4) +!22 = !DILocalVariable(name: "t", line: 6, scope: !15, file: !16, type: !4) !23 = !DILocation(line: 6, scope: !15) !24 = !DILocation(line: 7, scope: !15) !25 = !{i32 1, !"Debug Info Version", i32 3} diff --git a/llvm/test/Linker/Inputs/type-unique-inheritance-b.ll b/llvm/test/Linker/Inputs/type-unique-inheritance-b.ll index dd89b8dd42d..8c7b7991c5a 100644 --- a/llvm/test/Linker/Inputs/type-unique-inheritance-b.ll +++ b/llvm/test/Linker/Inputs/type-unique-inheritance-b.ll @@ -68,12 +68,12 @@ attributes #3 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n !25 = !DISubroutineType(types: !26) !26 = !{!8} !27 = !{i32 2, !"Dwarf Version", i32 2} -!28 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 4, arg: 1, scope: !20, file: !21, type: !8) +!28 = !DILocalVariable(name: "a", line: 4, arg: 1, scope: !20, file: !21, type: !8) !29 = !DILocation(line: 4, scope: !20) -!30 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "t", line: 5, scope: !20, file: !21, type: !4) +!30 = !DILocalVariable(name: "t", line: 5, scope: !20, file: !21, type: !4) !31 = !DILocation(line: 5, scope: !20) !32 = !DILocation(line: 6, scope: !20) -!33 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "a", line: 10, scope: !24, file: !21, type: !11) +!33 = !DILocalVariable(name: "a", line: 10, scope: !24, file: !21, type: !11) !34 = !DILocation(line: 10, scope: !24) !35 = !DILocation(line: 11, scope: !24) !36 = !DILocation(line: 12, scope: !24) diff --git a/llvm/test/Linker/Inputs/type-unique-simple2-a.ll b/llvm/test/Linker/Inputs/type-unique-simple2-a.ll index c07157bf87b..0c78072be65 100644 --- a/llvm/test/Linker/Inputs/type-unique-simple2-a.ll +++ b/llvm/test/Linker/Inputs/type-unique-simple2-a.ll @@ -80,9 +80,9 @@ attributes #1 = { nounwind readnone } !14 = !DISubroutineType(types: !15) !15 = !{null, !8} !16 = !{i32 2, !"Dwarf Version", i32 2} -!17 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 3, arg: 1, scope: !12, file: !13, type: !8) +!17 = !DILocalVariable(name: "a", line: 3, arg: 1, scope: !12, file: !13, type: !8) !18 = !DILocation(line: 3, scope: !12) -!19 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "t", line: 4, scope: !12, file: !13, type: !4) +!19 = !DILocalVariable(name: "t", line: 4, scope: !12, file: !13, type: !4) !20 = !DILocation(line: 4, scope: !12) !21 = !DILocation(line: 5, scope: !12) !22 = !{i32 1, !"Debug Info Version", i32 3} diff --git a/llvm/test/Linker/Inputs/type-unique-simple2-b.ll b/llvm/test/Linker/Inputs/type-unique-simple2-b.ll index 817f88704de..5e2ca8ddae7 100644 --- a/llvm/test/Linker/Inputs/type-unique-simple2-b.ll +++ b/llvm/test/Linker/Inputs/type-unique-simple2-b.ll @@ -56,9 +56,9 @@ attributes #3 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n !17 = !DISubroutineType(types: !18) !18 = !{!8} !19 = !{i32 2, !"Dwarf Version", i32 2} -!20 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 4, arg: 1, scope: !12, file: !13, type: !8) +!20 = !DILocalVariable(name: "a", line: 4, arg: 1, scope: !12, file: !13, type: !8) !21 = !DILocation(line: 4, scope: !12) -!22 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "t", line: 5, scope: !12, file: !13, type: !4) +!22 = !DILocalVariable(name: "t", line: 5, scope: !12, file: !13, type: !4) !23 = !DILocation(line: 5, scope: !12) !24 = !DILocation(line: 6, scope: !12) !25 = !DILocation(line: 8, scope: !16) diff --git a/llvm/test/Linker/type-unique-odr-a.ll b/llvm/test/Linker/type-unique-odr-a.ll index fa6b6bb4f22..51c3b99c469 100644 --- a/llvm/test/Linker/type-unique-odr-a.ll +++ b/llvm/test/Linker/type-unique-odr-a.ll @@ -96,6 +96,6 @@ attributes #1 = { nounwind readnone } !21 = !{i32 1, !"Debug Info Version", i32 3} !22 = !{!"clang version 3.5.0 "} !23 = !DILocation(line: 11, scope: !15) -!24 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "a", line: 8, scope: !19, file: !16, type: !"_ZTS1A") +!24 = !DILocalVariable(name: "a", line: 8, scope: !19, file: !16, type: !"_ZTS1A") !25 = !DILocation(line: 8, scope: !19) !26 = !DILocation(line: 9, scope: !19) diff --git a/llvm/test/Linker/type-unique-odr-b.ll b/llvm/test/Linker/type-unique-odr-b.ll index f57c21da824..1638374cfe8 100644 --- a/llvm/test/Linker/type-unique-odr-b.ll +++ b/llvm/test/Linker/type-unique-odr-b.ll @@ -77,7 +77,7 @@ attributes #1 = { nounwind readnone } !21 = !{i32 2, !"Dwarf Version", i32 4} !22 = !{i32 1, !"Debug Info Version", i32 3} !23 = !{!"clang version 3.5.0 "} -!24 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !15, type: !25) +!24 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !15, type: !25) !25 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !"_ZTS1A") !26 = !DILocation(line: 0, scope: !15) !27 = !DILocation(line: 8, scope: !15) diff --git a/llvm/test/Linker/type-unique-simple-a.ll b/llvm/test/Linker/type-unique-simple-a.ll index 1ab43d657e1..a905d106aaa 100644 --- a/llvm/test/Linker/type-unique-simple-a.ll +++ b/llvm/test/Linker/type-unique-simple-a.ll @@ -83,9 +83,9 @@ attributes #1 = { nounwind readnone } !12 = !DISubroutineType(types: !13) !13 = !{null, !8} !14 = !{i32 2, !"Dwarf Version", i32 2} -!15 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 3, arg: 1, scope: !10, file: !11, type: !8) +!15 = !DILocalVariable(name: "a", line: 3, arg: 1, scope: !10, file: !11, type: !8) !16 = !DILocation(line: 3, scope: !10) -!17 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "t", line: 4, scope: !10, file: !11, type: !4) +!17 = !DILocalVariable(name: "t", line: 4, scope: !10, file: !11, type: !4) !18 = !DILocation(line: 4, scope: !10) !19 = !DILocation(line: 5, scope: !10) !20 = !{i32 1, !"Debug Info Version", i32 3} diff --git a/llvm/test/Linker/type-unique-simple-b.ll b/llvm/test/Linker/type-unique-simple-b.ll index c12b9184529..9b84b857747 100644 --- a/llvm/test/Linker/type-unique-simple-b.ll +++ b/llvm/test/Linker/type-unique-simple-b.ll @@ -56,9 +56,9 @@ attributes #3 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n !15 = !DISubroutineType(types: !16) !16 = !{!8} !17 = !{i32 2, !"Dwarf Version", i32 2} -!18 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 4, arg: 1, scope: !10, file: !11, type: !8) +!18 = !DILocalVariable(name: "a", line: 4, arg: 1, scope: !10, file: !11, type: !8) !19 = !DILocation(line: 4, scope: !10) -!20 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "t", line: 5, scope: !10, file: !11, type: !4) +!20 = !DILocalVariable(name: "t", line: 5, scope: !10, file: !11, type: !4) !21 = !DILocation(line: 5, scope: !10) !22 = !DILocation(line: 6, scope: !10) !23 = !DILocation(line: 8, scope: !14) diff --git a/llvm/test/Linker/type-unique-simple2-a.ll b/llvm/test/Linker/type-unique-simple2-a.ll index f9170ab5f7f..5b01d6863cd 100644 --- a/llvm/test/Linker/type-unique-simple2-a.ll +++ b/llvm/test/Linker/type-unique-simple2-a.ll @@ -116,11 +116,11 @@ attributes #4 = { nounwind readnone } !36 = !{i32 1, !"Debug Info Version", i32 3} !37 = !{!"clang version 3.5 "} !38 = !DILocation(line: 3, scope: !27) -!39 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !31, type: !40) +!39 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !31, type: !40) !40 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !"_ZTS1A") !41 = !DILocation(line: 0, scope: !31) !42 = !DILocation(line: 2, scope: !43) !43 = !DILexicalBlockFile(discriminator: 0, file: !5, scope: !31) -!44 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !34, type: !40) +!44 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !34, type: !40) !45 = !DILocation(line: 0, scope: !34) !46 = !DILocation(line: 2, scope: !34) diff --git a/llvm/test/Linker/type-unique-simple2-b.ll b/llvm/test/Linker/type-unique-simple2-b.ll index 5539fb4adb3..45aff26f382 100644 --- a/llvm/test/Linker/type-unique-simple2-b.ll +++ b/llvm/test/Linker/type-unique-simple2-b.ll @@ -77,10 +77,10 @@ attributes #1 = { nounwind readnone } !29 = !{i32 2, !"Dwarf Version", i32 2} !30 = !{i32 1, !"Debug Info Version", i32 3} !31 = !{!"clang version 3.5 "} -!32 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !26, type: !33) +!32 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !26, type: !33) !33 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !"_ZTS1A") !34 = !DILocation(line: 0, scope: !26) !35 = !DILocation(line: 2, scope: !26) -!36 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !28, type: !33) +!36 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !28, type: !33) !37 = !DILocation(line: 0, scope: !28) !38 = !DILocation(line: 4, scope: !28) diff --git a/llvm/test/Linker/type-unique-type-array-a.ll b/llvm/test/Linker/type-unique-type-array-a.ll index 98c8d657743..8ae3833de2f 100644 --- a/llvm/test/Linker/type-unique-type-array-a.ll +++ b/llvm/test/Linker/type-unique-type-array-a.ll @@ -116,14 +116,14 @@ attributes #3 = { nounwind } !21 = !{i32 2, !"Dwarf Version", i32 2} !22 = !{i32 2, !"Debug Info Version", i32 3} !23 = !{!"clang version 3.5.0 (trunk 214102:214113M) (llvm/trunk 214102:214115M)"} -!24 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 11, arg: 1, scope: !15, file: !16, type: !19) +!24 = !DILocalVariable(name: "a", line: 11, arg: 1, scope: !15, file: !16, type: !19) !25 = !DILocation(line: 11, column: 14, scope: !15) -!26 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "sa", line: 11, arg: 2, scope: !15, file: !16, type: !"_ZTS2SA") +!26 = !DILocalVariable(name: "sa", line: 11, arg: 2, scope: !15, file: !16, type: !"_ZTS2SA") !27 = !DILocation(line: 11, column: 20, scope: !15) !28 = !DILocation(line: 12, column: 3, scope: !15) !29 = !DILocation(line: 13, column: 1, scope: !15) -!30 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !20, type: !19) +!30 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !20, type: !19) !31 = !DILocation(line: 0, scope: !20) -!32 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 7, arg: 2, scope: !20, file: !16, type: !"_ZTS2SA") +!32 = !DILocalVariable(name: "a", line: 7, arg: 2, scope: !20, file: !16, type: !"_ZTS2SA") !33 = !DILocation(line: 7, column: 17, scope: !20) !34 = !DILocation(line: 8, column: 3, scope: !20) diff --git a/llvm/test/Linker/type-unique-type-array-b.ll b/llvm/test/Linker/type-unique-type-array-b.ll index 14ce59b3c12..1742f2817c6 100644 --- a/llvm/test/Linker/type-unique-type-array-b.ll +++ b/llvm/test/Linker/type-unique-type-array-b.ll @@ -95,14 +95,14 @@ attributes #3 = { nounwind } !21 = !{i32 2, !"Dwarf Version", i32 2} !22 = !{i32 2, !"Debug Info Version", i32 3} !23 = !{!"clang version 3.5.0 (trunk 214102:214113M) (llvm/trunk 214102:214115M)"} -!24 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "b", line: 11, arg: 1, scope: !15, file: !16, type: !19) +!24 = !DILocalVariable(name: "b", line: 11, arg: 1, scope: !15, file: !16, type: !19) !25 = !DILocation(line: 11, column: 14, scope: !15) -!26 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "sa", line: 11, arg: 2, scope: !15, file: !16, type: !"_ZTS2SA") +!26 = !DILocalVariable(name: "sa", line: 11, arg: 2, scope: !15, file: !16, type: !"_ZTS2SA") !27 = !DILocation(line: 11, column: 20, scope: !15) !28 = !DILocation(line: 12, column: 3, scope: !15) !29 = !DILocation(line: 13, column: 1, scope: !15) -!30 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !20, type: !19) +!30 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !20, type: !19) !31 = !DILocation(line: 0, scope: !20) -!32 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "sa", line: 7, arg: 2, scope: !20, file: !16, type: !"_ZTS2SA") +!32 = !DILocalVariable(name: "sa", line: 7, arg: 2, scope: !20, file: !16, type: !"_ZTS2SA") !33 = !DILocation(line: 7, column: 17, scope: !20) !34 = !DILocation(line: 8, column: 3, scope: !20) |

