[PATCH] D102589: [WebAssembly] Nullify DBG_VALUE_LISTS in DebugValueManager

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 16 18:42:46 PDT 2021


aheejin created this revision.
aheejin added reviewers: dschuff, yurydelendik, aardappel, jmorse.
Herald added subscribers: wingo, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100.
aheejin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

WebAssemblyDebugValueManager class currently does not handle
DBG_VALUE_LIST instructions correctly for two reasons, which are
explained in https://bugs.llvm.org/show_bug.cgi?id=50361.

This effectively nullifies DBG_VALUE_LISTs in
WebAssemblyDebugValueManager so that the info will appear as "optimized
out" in debuggers but still be at least correct in the meantime.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102589

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyDebugValueManager.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
  llvm/test/CodeGen/WebAssembly/reg-stackify-dbg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102589.345735.patch
Type: text/x-patch
Size: 5818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210517/da7e5311/attachment.bin>


More information about the llvm-commits mailing list