Closed delcypher closed 7 years ago
This depends on the kind of errors you want to limit. The option would be different for clang. I don't know about opt. Bugle is limited to reporting just one error.
Sorry I should of been a bit clearer. I meant reported verifications errors.
I've added a --error-limit
option in commit 50013ab on the llvm-trunk branch. The error limit applies both to clang and Boogie. Unfortunately, there seems to be a bug in the version of Boogie we are using testing against testsuite/OpenCL/pointeranalysistests/manyprocedures/kernel.cl
, with an error limit of 1, I get back two errors.
I think this can be done with
--boogie-opt=/errorLimit:1
but we should expose a command argument in GPUVerify script so it is more user visible.