[WebAssembly] Update debug info test after r312144

Add the expr field to the DIGlobalVariableExpression

llvm-svn: 312163
This commit is contained in:
Derek Schuff 2017-08-30 19:54:08 +00:00
parent e1681e6ee2
commit 810b5466b3

View 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)