regalloc2 icon indicating copy to clipboard operation
regalloc2 copied to clipboard

Include useful diagnostic information in errors

Open fitzgen opened this issue 1 year ago • 1 comments

Right now, we just give error messages like BB(Block(0)), meaning that there is some error somewhere in block 0.

If one enables logging, then one gets messages like "block 0 does not end in a terminator" or something like that.

It would be nice if we put that information in the actual error itself, so folks didn't have to enable logging to figure out what went wrong.

fitzgen avatar Jun 29 '23 19:06 fitzgen