[PATCH] D44610: [SelectionDAG] Support multiple dangling debug info for one value

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 18 12:56:03 PDT 2018


bjope created this revision.
bjope added a project: debug-info.
Herald added subscribers: JDevlieghere, aprantl.

When building the selection DAG we sometimes need to postpone
the handling of a dbg.value until the value it should refer to
is created. This is done by using the DanglingDebugInfoMap.
In the past this map has been limited to hold one dangling
dbg.value per value. This patch removes that restriction.


Repository:
  rL LLVM

https://reviews.llvm.org/D44610

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  test/DebugInfo/X86/sdag-dangling-dbgvalue.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44610.138861.patch
Type: text/x-patch
Size: 9821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180318/414206f4/attachment.bin>


More information about the llvm-commits mailing list