[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Jim Laskey
jlaskey at apple.com
Tue Jan 17 09:32:08 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.267 -> 1.268
---
Log message:
Adding basic support for Dwarf line number debug information.
I promise to keep future commits smaller.
---
Diffs of the changes: (+1 -1)
LegalizeDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.267 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.268
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.267 Mon Jan 16 01:59:13 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Tue Jan 17 11:31:53 2006
@@ -627,7 +627,7 @@
cast<StringSDNode>(Node->getOperand(3))->getValue();
const std::string &DirName =
cast<StringSDNode>(Node->getOperand(4))->getValue();
- unsigned SrcFile = DebugInfo->getUniqueSourceID(FName, DirName);
+ unsigned SrcFile = DebugInfo->RecordSource(DirName, FName);
std::vector<SDOperand> Ops;
Ops.push_back(Tmp1); // chain
More information about the llvm-commits
mailing list