This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Construct SDDbgLabel to store debug info of labels in DAG.
AbandonedPublic

Authored by HsiangKai on Mar 29 2018, 7:11 AM.

Details

Reviewers
rnk
chenwj
Summary

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.

Diff Detail

Repository
rL LLVM