[llvm-commits] [llvm] r63203 - /llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
Tanya Lattner
tonic at nondot.org
Wed Jan 28 07:35:57 PST 2009
Author: tbrethou
Date: Wed Jan 28 09:35:55 2009
New Revision: 63203
URL: http://llvm.org/viewvc/llvm-project?rev=63203&view=rev
Log:
Merge from mainline.
Code did not follow associated comment. not a good idea.
Modified:
llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
Modified: llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp?rev=63203&r1=63202&r2=63203&view=diff
==============================================================================
--- llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp (original)
+++ llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp Wed Jan 28 09:35:55 2009
@@ -1578,7 +1578,7 @@
void AddSourceLine(DIE *Die, const DIGlobal *G) {
unsigned FileID = 0;
unsigned Line = G->getLineNumber();
- if (G->getVersion() < LLVMDebugVersion6) {
+ if (G->getVersion() <= LLVMDebugVersion6) {
// Version6 or earlier. Use compile unit info to get file id.
CompileUnit *Unit = FindCompileUnit(G->getCompileUnit());
FileID = Unit->getID();
More information about the llvm-commits
mailing list