mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Code did not follow associated comment. not a good idea.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user