From 0d929287d77ccc3fb52ca8bd072678b5ae2c81c8 Mon Sep 17 00:00:00 2001 From: Thomas Bracht Laumann Jespersen Date: Thu, 26 Jan 2023 12:09:44 +0100 Subject: implement line number info tracking Support "file" and "loc" directives. "file" takes a string (a file name) assigns it a number, sets the current file to that number and records the string for later. "loc" takes a single number and outputs location information with a reference to the current file. --- amd64/isel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'amd64/isel.c') diff --git a/amd64/isel.c b/amd64/isel.c index 3d5d5a9..277063f 100644 --- a/amd64/isel.c +++ b/amd64/isel.c @@ -392,6 +392,7 @@ sel(Ins i, ANum *an, Fn *fn) case_Oload: seladdr(&i.arg[0], an, fn); goto Emit; + case Oloc: case Ocall: case Osalloc: case Ocopy: -- cgit 1.4.1