mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 18:33:56 +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:
parent
49f38cb32f
commit
a608687f3e
@ -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…
x
Reference in New Issue
Block a user