[all-commits] [llvm/llvm-project] 6e1c1d: [WebAssembly] Nullify DBG_VALUE_LISTs in DebugValu...

Heejin Ahn via All-commits all-commits at lists.llvm.org
Mon May 17 13:48:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e1c1dac4c72cc57f4cd2bc8554e8ac9f2f50b6e
      https://github.com/llvm/llvm-project/commit/6e1c1dac4c72cc57f4cd2bc8554e8ac9f2f50b6e
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyDebugValueManager.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
    A llvm/test/CodeGen/WebAssembly/reg-stackify-dbg.mir

  Log Message:
  -----------
  [WebAssembly] Nullify DBG_VALUE_LISTs in DebugValueManager

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.

Reviewed By: dschuff, jmorse

Differential Revision: https://reviews.llvm.org/D102589




More information about the All-commits mailing list