From 9a85470a571bb0bc05305eb9e8bf802324d2b518 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 9 May 2018 10:09:23 +0000 Subject: [PATCH] [wasm] Update test for variables->retainedNodes rename. This fixes the test after LLVM r331841. llvm-svn: 331862 --- lld/test/wasm/Inputs/debuginfo1.ll | 4 ++-- lld/test/wasm/Inputs/debuginfo2.ll | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lld/test/wasm/Inputs/debuginfo1.ll b/lld/test/wasm/Inputs/debuginfo1.ll index 4fbcc68..a0ef6e5 100644 --- a/lld/test/wasm/Inputs/debuginfo1.ll +++ b/lld/test/wasm/Inputs/debuginfo1.ll @@ -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) diff --git a/lld/test/wasm/Inputs/debuginfo2.ll b/lld/test/wasm/Inputs/debuginfo2.ll index d39a278..d19800f 100644 --- a/lld/test/wasm/Inputs/debuginfo2.ll +++ b/lld/test/wasm/Inputs/debuginfo2.ll @@ -48,7 +48,7 @@ attributes #1 = { nounwind readnone speculatable } !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} -- 2.7.4