[PATCH] D136249: [NFC][SelectionDAG][DebugInfo] Refactor DanglingDebugInfo class

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 05:01:03 PDT 2022


Orlando created this revision.
Orlando added reviewers: dblaikie, jmorse, StephenTozer, jryans.
Orlando added a project: debug-info.
Herald added subscribers: nlopes, ecnelises, hiraditya.
Herald added a project: All.
Orlando requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Hide the underlying `DbgValueInst` by adding methods to extract the necessary
information and by adding a `raw_ostream &operator<<` overload to print it.

Remove the `DebugLoc` field as this is always the same as the `DbgValueInst`'s
`DebugLoc` (see D136247 <https://reviews.llvm.org/D136247>).


https://reviews.llvm.org/D136249

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136249.468872.patch
Type: text/x-patch
Size: 7338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221019/0a6a9fbd/attachment.bin>


More information about the llvm-commits mailing list