1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Code did not follow associated comment. not a good idea.

llvm-svn: 62828
This commit is contained in:
Devang Patel 2009-01-23 01:25:58 +00:00
parent b638679d9d
commit 86e54f5636

View File

@ -1578,7 +1578,7 @@ private:
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();