[PATCH] Annotate our UB to sneak it past the sanitizers

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 11:31:58 PST 2016

What are the failures you observe? We're running an UBSan bootstrap on our
buildbot, and it's usually green:

On Thu, Feb 25, 2016 at 2:42 PM, Kostya Serebryany <kcc at google.com> wrote:

> Sounds very scary.
> At the very least we should specify which flavor of UB we allow here (not
> just all of it)

+1 I would prefer LLVM_NO_SANITIZE("kind") macro.

> And then comment why exactly we allow it.

Or leave a link to PR for eventually fixing this UB.

> On Thu, Feb 25, 2016 at 1:19 PM, Justin Bogner <mail at justinbogner.com>
> wrote:
>> Attached patch silences -fsanitize=undefined wrt the UB we have for
>> ilist node sentinels. Okay to commit?

Alexey Samsonov
vonosmas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160226/ac53c2a8/attachment.html>

More information about the llvm-commits mailing list