[LLVMdev] [PATCH] ubsan: label messages as coming from ubsan
kcc at google.com
Mon Oct 6 11:41:56 PDT 2014
Ben, you've forgot to add the patch.
I encourage you to use llvm.org/docs/Phabricator.html for code reviews
On Mon, Oct 6, 2014 at 11:33 AM, Ben Boeckel <mathstuf at gmail.com> wrote:
> I've been working on adding UBSan support to CMake (so that errors found
> by it can be uploaded to CDash for viewing). One problem is that the
> message is very generic. The patch here addes
> 'UndefinedBehaviorSanitizer' to the message so that they may be detected
> more easily.
> If something else is wanted (such as the '===' lines from ASan or TSan
> to cope with things like printing the backtrace, that would be possible
> as well. It would also be nice if there were a blurb on what the error
> was rather than just freeform text (similar to heap-use-after-free and
> heap-buffer-overflow) to categorize messages.
> Ben Boeckel (1):
> ubsan: add 'UndefinedBehaviorSanitizer' to messages
> lib/ubsan/ubsan_diag.cc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev