[llvm-commits] CVS: llvm/tools/llvm-db/Commands.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Nov 19 11:45:58 PST 2004
Changes in directory llvm/tools/llvm-db:
Commands.cpp updated: 1.6 -> 1.7
---
Log message:
Fix a bug that caused stuff like this:
main at ./eh.cpp:1414 -> printf("a\n");
to be printed, instead of this:
main at ./eh.cpp:14
14 -> printf("a\n");
---
Diffs of the changes: (+2 -1)
Index: llvm/tools/llvm-db/Commands.cpp
diff -u llvm/tools/llvm-db/Commands.cpp:1.6 llvm/tools/llvm-db/Commands.cpp:1.7
--- llvm/tools/llvm-db/Commands.cpp:1.6 Tue Oct 26 00:46:17 2004
+++ llvm/tools/llvm-db/Commands.cpp Fri Nov 19 13:45:44 2004
@@ -119,7 +119,8 @@
CurrentFile = &FileDesc->getSourceText();
std::cout << " at " << CurrentFile->getFilename() << ":" << LineNo;
- if (ColNo) std::cout << ":" << ColNo << "\n";
+ if (ColNo) std::cout << ":" << ColNo;
+ std::cout << "\n";
}
if (printSourceLine(LineNo))
More information about the llvm-commits
mailing list