[llvm] r312163 - [WebAssembly] Update debug info test after r312144

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 30 12:54:08 PDT 2017


Author: dschuff
Date: Wed Aug 30 12:54:08 2017
New Revision: 312163

URL: http://llvm.org/viewvc/llvm-project?rev=312163&view=rev
Log:
[WebAssembly] Update debug info test after r312144

Add the expr field to the DIGlobalVariableExpression

Modified:
    llvm/trunk/test/DebugInfo/WebAssembly/dbg-declare.ll

Modified: llvm/trunk/test/DebugInfo/WebAssembly/dbg-declare.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/WebAssembly/dbg-declare.ll?rev=312163&r1=312162&r2=312163&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/WebAssembly/dbg-declare.ll (original)
+++ llvm/trunk/test/DebugInfo/WebAssembly/dbg-declare.ll Wed Aug 30 12:54:08 2017
@@ -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)




More information about the llvm-commits mailing list