dbgloc: add column argument

dbgloc line [col]

This is implemented in a backwards-compatible manner.
This commit is contained in:
Drew DeVault 2024-01-02 11:09:18 +01:00 committed by Quentin Carbonneaux
parent 24d68e841f
commit 85287081c4
7 changed files with 18 additions and 7 deletions

View file

@ -447,7 +447,7 @@ emitins(Ins *i, E *e)
emitf("mov %=, sp", i, e);
break;
case Odbgloc:
emitdbgloc(i->arg[0].val, e->f);
emitdbgloc(i->arg[0].val, i->arg[1].val, e->f);
break;
}
}