diff options
| author | Devang Patel <dpatel@apple.com> | 2011-05-23 17:44:13 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-05-23 17:44:13 +0000 |
| commit | 79928838114d58204adfa8e257673172e2c7727c (patch) | |
| tree | 0b3efa9b379d76148260526e727cf42b88698999 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | |
| parent | c4d9a841591df09ad6fe2ff90f929370cafe7272 (diff) | |
| download | bcm5719-llvm-79928838114d58204adfa8e257673172e2c7727c.tar.gz bcm5719-llvm-79928838114d58204adfa8e257673172e2c7727c.zip | |
Preserve debug info during iSel by keeping DanglingDebugInfoMap live until end of function.
Patch by Micah Villmow
llvm-svn: 131908
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index a689b76cdc8..8376d41e153 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h @@ -332,6 +332,14 @@ public: /// consumed. void clear(); + /// clearDanglingDebugInfo - Clear the dangling debug information + /// map. This function is seperated from the clear so that debug + /// information that is dangling in a basic block can be properly + /// resolved in a different basic block. This allows the + /// SelectionDAG to resolve dangling debug information attached + /// to PHI nodes. + void clearDanglingDebugInfo(); + /// getRoot - Return the current virtual root of the Selection DAG, /// flushing any PendingLoad items. This must be done before emitting /// a store or any other node that may need to be ordered after any |

