[PATCH] D45035: [DebugInfo] Construct SDDbgLabel to store debug info of labels in DAG.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 07:11:44 PDT 2018


HsiangKai created this revision.
HsiangKai added reviewers: rnk, chenwj.
Herald added subscribers: JDevlieghere, aprantl.

Debug information in SelectionDAG will be stored in SDDbgInfo. We keep a
list of SDDbgLabel in SDDbgInfo to keep debug information of labels in
SelectionDAG.

SDDbgLabel will store DILabel, DebugLoc, and SDNodeOrder.

In SelectionDAGBuilder::visitIntrinsicCall(), it will convert DbgLabelInst
CallInst to SDDbgLabel and put the new object into SDDbgInfo of current
SelectionDAG.


Repository:
  rL LLVM

https://reviews.llvm.org/D45035

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45035.140237.patch
Type: text/x-patch
Size: 6375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180329/c776e0d3/attachment.bin>


More information about the llvm-commits mailing list