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:
parent
b638679d9d
commit
86e54f5636
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user