llvm.org GIT mirror llvm / fd80b5c
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"); git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18005 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
118118 CurrentFile = &FileDesc->getSourceText();
119119
120120 std::cout << " at " << CurrentFile->getFilename() << ":" << LineNo;
121 if (ColNo) std::cout << ":" << ColNo << "\n";
121 if (ColNo) std::cout << ":" << ColNo;
122 std::cout << "\n";
122123 }
123124
124125 if (printSourceLine(LineNo))