[LLVMdev] [PATCH] ubsan: label messages as coming from ubsan

Kostya Serebryany kcc at google.com
Mon Oct 6 11:41:56 PDT 2014


+samsonov

Ben, you've forgot to add the patch.
I encourage you to use llvm.org/docs/Phabricator.html for code reviews

--kcc

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.
>
> Thanks,
>
> --Ben
>
> Ben Boeckel (1):
>   ubsan: add 'UndefinedBehaviorSanitizer' to messages
>
>  lib/ubsan/ubsan_diag.cc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> --
> 2.1.0
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141006/0346115a/attachment.html>


More information about the llvm-dev mailing list