]> granicus.if.org Git - llvm/commitdiff
[WebAssembly] Update debug info test after r312144
authorDerek Schuff <dschuff@google.com>
Wed, 30 Aug 2017 19:54:08 +0000 (19:54 +0000)
committerDerek Schuff <dschuff@google.com>
Wed, 30 Aug 2017 19:54:08 +0000 (19:54 +0000)
Add the expr field to the DIGlobalVariableExpression

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312163 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/WebAssembly/dbg-declare.ll

index 814ce68ef1b21def89e222a663bf0505e885e63b..bad17a9272777b8d68fb286f13804da6d9a6a009 100644 (file)
@@ -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)