From: Derek Schuff Date: Wed, 30 Aug 2017 19:54:08 +0000 (+0000) Subject: [WebAssembly] Update debug info test after r312144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1e0b4f4993d4f2103f76373378246575af76f50;p=llvm [WebAssembly] Update debug info test after r312144 Add the expr field to the DIGlobalVariableExpression git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312163 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/DebugInfo/WebAssembly/dbg-declare.ll b/test/DebugInfo/WebAssembly/dbg-declare.ll index 814ce68ef1b..bad17a92727 100644 --- a/test/DebugInfo/WebAssembly/dbg-declare.ll +++ b/test/DebugInfo/WebAssembly/dbg-declare.ll @@ -45,7 +45,7 @@ attributes #0 = { nounwind readnone } !1 = !DIFile(filename: "crash.c", directory: "wasm/tests") !2 = !{} !3 = !{!4} -!4 = distinct !DIGlobalVariableExpression(var: !5) +!4 = distinct !DIGlobalVariableExpression(var: !5, expr: !DIExpression()) !5 = !DIGlobalVariable(name: "key", scope: !0, file: !1, line: 7, type: !6, isLocal: false, isDefinition: true) !6 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 120, align: 8, elements: !10) !7 = !DIDerivedType(tag: DW_TAG_typedef, name: "uint8_t", file: !8, line: 185, baseType: !9)