[PATCH] D88589: [DebugInfo] Handle dbg.values with multiple variable location operands in ISel

Stephen Tozer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 09:53:44 PDT 2020


StephenTozer created this revision.
StephenTozer added reviewers: aprantl, djtodoro, vsk, probinson.
StephenTozer added a project: debug-info.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
StephenTozer requested review of this revision.

This patch continues implementing the ISel support for multi-location-operand debug values by reading and processing dbg.values that use DIArgList. This patch does not add support for producing DBG_VALUE_LIST; that is added in a separate patch in this stack.

The most substantial change is naturally in `handleDebugValue` and some of the functions that it calls. Outside of this, `salvageDebugInfo` and `transferDbgValues` have been modified to replace individual operands instead of the entire value; dangling debug info for variadic debug values is not currently supported (but may be added in a later patch).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88589

Files:
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88589.295329.patch
Type: text/x-patch
Size: 29595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200930/fa52fa04/attachment.bin>


More information about the llvm-commits mailing list