[lld] r331862 - [wasm] Update test for variables->retainedNodes rename.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Wed May 9 03:09:23 PDT 2018
Author: d0k
Date: Wed May 9 03:09:23 2018
New Revision: 331862
URL: http://llvm.org/viewvc/llvm-project?rev=331862&view=rev
Log:
[wasm] Update test for variables->retainedNodes rename.
This fixes the test after LLVM r331841.
Modified:
lld/trunk/test/wasm/Inputs/debuginfo1.ll
lld/trunk/test/wasm/Inputs/debuginfo2.ll
Modified: lld/trunk/test/wasm/Inputs/debuginfo1.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/debuginfo1.ll?rev=331862&r1=331861&r2=331862&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/debuginfo1.ll (original)
+++ lld/trunk/test/wasm/Inputs/debuginfo1.ll Wed May 9 03:09:23 2018
@@ -52,7 +52,7 @@ attributes #4 = { nounwind }
!4 = !{i32 2, !"Debug Info Version", i32 3}
!5 = !{i32 1, !"wchar_size", i32 4}
!6 = !{!"clang version 7.0.0 (trunk 331321)"}
-!7 = distinct !DISubprogram(name: "test", scope: !1, file: !1, line: 3, type: !8, isLocal: false, isDefinition: true, scopeLine: 3, flags: DIFlagPrototyped, isOptimized: true, unit: !0, variables: !11)
+!7 = distinct !DISubprogram(name: "test", scope: !1, file: !1, line: 3, type: !8, isLocal: false, isDefinition: true, scopeLine: 3, flags: DIFlagPrototyped, isOptimized: true, unit: !0, retainedNodes: !11)
!8 = !DISubroutineType(types: !9)
!9 = !{!10, !10}
!10 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
@@ -61,7 +61,7 @@ attributes #4 = { nounwind }
!13 = !DILocation(line: 3, column: 14, scope: !7)
!14 = !DILocation(line: 4, column: 12, scope: !7)
!15 = !DILocation(line: 4, column: 3, scope: !7)
-!16 = distinct !DISubprogram(name: "_start", scope: !1, file: !1, line: 7, type: !17, isLocal: false, isDefinition: true, scopeLine: 7, isOptimized: true, unit: !0, variables: !2)
+!16 = distinct !DISubprogram(name: "_start", scope: !1, file: !1, line: 7, type: !17, isLocal: false, isDefinition: true, scopeLine: 7, isOptimized: true, unit: !0, retainedNodes: !2)
!17 = !DISubroutineType(types: !18)
!18 = !{!10}
!19 = !DILocation(line: 8, column: 3, scope: !16)
Modified: lld/trunk/test/wasm/Inputs/debuginfo2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/debuginfo2.ll?rev=331862&r1=331861&r2=331862&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/debuginfo2.ll (original)
+++ lld/trunk/test/wasm/Inputs/debuginfo2.ll Wed May 9 03:09:23 2018
@@ -48,7 +48,7 @@ attributes #1 = { nounwind readnone spec
!11 = !{i32 2, !"Debug Info Version", i32 3}
!12 = !{i32 1, !"wchar_size", i32 4}
!13 = !{!"clang version 7.0.0 (trunk 331321)"}
-!14 = distinct !DISubprogram(name: "foo", scope: !3, file: !3, line: 3, type: !15, isLocal: false, isDefinition: true, scopeLine: 3, flags: DIFlagPrototyped, isOptimized: true, unit: !2, variables: !17)
+!14 = distinct !DISubprogram(name: "foo", scope: !3, file: !3, line: 3, type: !15, isLocal: false, isDefinition: true, scopeLine: 3, flags: DIFlagPrototyped, isOptimized: true, unit: !2, retainedNodes: !17)
!15 = !DISubroutineType(types: !16)
!16 = !{null, !7}
!17 = !{!18}
More information about the llvm-commits
mailing list