[PATCH] D23635: [WebAssembly] Handle debug information and virtual registers without crashing (reland r278967)

Dominic Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 16:39:38 PDT 2016


ddcc created this revision.
ddcc added reviewers: jfb, aprantl, dschuff, echristo.
ddcc added subscribers: mehdi_amini, yurydelendik, dexonsmith, MatzeB, jfb, dschuff, llvm-commits.

Currently, enabling debug information when compiling for WebAssembly crashes the backend. This commit fixes these by skipping debug values in backend passes.

https://reviews.llvm.org/D23635

Files:
  lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp
  lib/Target/WebAssembly/WebAssemblyStoreResults.cpp
  test/DebugInfo/WebAssembly/dbg-declare.ll
  test/DebugInfo/WebAssembly/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23635.68452.patch
Type: text/x-patch
Size: 6207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160817/135b53b7/attachment.bin>


More information about the llvm-commits mailing list