From 7a717c4ee37012fa22d64d45217486636bdce600 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 15 Apr 2016 19:38:14 +0000 Subject: [PATCH] Let the DISubprogram in this test point to the right compile unit. llvm-svn: 266468 --- llvm/test/CodeGen/WebAssembly/reg-stackify.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/CodeGen/WebAssembly/reg-stackify.ll b/llvm/test/CodeGen/WebAssembly/reg-stackify.ll index b6d5108..c9814cc 100644 --- a/llvm/test/CodeGen/WebAssembly/reg-stackify.ll +++ b/llvm/test/CodeGen/WebAssembly/reg-stackify.ll @@ -364,7 +364,7 @@ define void @ignore_dbg_value() { !1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang version 3.9.0 (trunk 266005) (llvm/trunk 266105)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !3) !2 = !DIFile(filename: "test.c", directory: "/") !3 = !{} -!5 = distinct !DISubprogram(name: "test", scope: !2, file: !2, line: 10, type: !6, isLocal: false, isDefinition: true, scopeLine: 11, flags: DIFlagPrototyped, isOptimized: true, unit: !0, variables: !3) +!5 = distinct !DISubprogram(name: "test", scope: !2, file: !2, line: 10, type: !6, isLocal: false, isDefinition: true, scopeLine: 11, flags: DIFlagPrototyped, isOptimized: true, unit: !1, variables: !3) !6 = !DISubroutineType(types: !3) !7 = !DILocalVariable(name: "nzcnt", scope: !5, file: !2, line: 15, type: !8) !8 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) -- 2.7.4