[llvm-dev] [RFC] New diagnostic handler for llc

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Thu May 12 12:23:08 PDT 2016


On 12 May 2016 at 05:20, Diana Picus <diana.picus at linaro.org> wrote:
> I'd like to add a new diagnostic handler to llc. Right now, llc
> doesn't have one at all, and instead just exits after the first error
> that it encounters. This is very different from the behaviour of clang
> and other front ends, who try to report as many errors as possible
> before exiting.

As is probably obvious, I think this is a good idea. llc should be
able to test the full range of backend behaviour seen by other
front-ends, and part of that is the decision to not exit immediately
on an error.

As to how to do it, I'd be OK with a temporary option personally. I'll
see if I can do anything about some of the other problems once it's
in.

Cheers.

Tim.


More information about the llvm-dev mailing list