mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 10:27:02 +00:00
Propagate debug info when building SelectionDAG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63359 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6360089d63
commit
fa42dea48b
@ -79,6 +79,9 @@ class SelectionDAG {
|
||||
MachineModuleInfo *MMI;
|
||||
DwarfWriter *DW;
|
||||
|
||||
/// CurDebugLoc - current file + line number. Changes as we build the DAG.
|
||||
DebugLoc CurDebugLoc;
|
||||
|
||||
/// EntryNode - The starting token.
|
||||
SDNode EntryNode;
|
||||
|
||||
@ -137,6 +140,7 @@ public:
|
||||
FunctionLoweringInfo &getFunctionLoweringInfo() const { return FLI; }
|
||||
MachineModuleInfo *getMachineModuleInfo() const { return MMI; }
|
||||
DwarfWriter *getDwarfWriter() const { return DW; }
|
||||
DebugLoc getCurDebugLoc() const { return CurDebugLoc; }
|
||||
|
||||
/// viewGraph - Pop up a GraphViz/gv window with the DAG rendered using 'dot'.
|
||||
///
|
||||
@ -195,6 +199,8 @@ public:
|
||||
return Root = N;
|
||||
}
|
||||
|
||||
void setCurDebugLoc(DebugLoc dl) { CurDebugLoc = dl; }
|
||||
|
||||
/// Combine - This iterates over the nodes in the SelectionDAG, folding
|
||||
/// certain types of nodes together, or eliminating superfluous nodes. The
|
||||
/// Level argument controls whether Combine is allowed to produce nodes and
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user