Nicolas Boichat
unread,Nov 20, 2017, 7:09:26 PM11/20/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Doug Anderson, Marc Herbert, Chromium OS dev, luciano...@intel.com, Nicolas Boichat
Hi,
Also, you end up testing something slightly different than what we run
in production (clang compiled code may behave a little differently
from gcc). But, well, kasan does instrument all memory accesses, so
it's already quite a bit different from production, so maybe it isn't
so severe.
>
>
>>
>> How would one enable KASAN in some non-interactive (nightly) build? Same
>> USE=-clang flag in some package.use file somewhere?
>
>
> Specify it in the same place you specify USE=kasan?
I use this for KASan:
https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/321571,
that sets USE=kasan globally in make.defaults.
I'm not sure if setting USE="-clang" globally is the right thing to do
(are there other packages using that USE flag?).
Removing src/overlays/overlay-reef/profiles/base/package.use should do
the trick:
https://chromium-review.googlesource.com/c/chromiumos/overlays/board-overlays/+/780699
(untested, please let me know)
Best,
>
> -Doug
>
> --
> --
> Chromium OS Developers mailing list:
chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
>
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
>