Re: [PATCH v2] kasan: don't emit builtin calls when sanitization is off

From: Nick Desaulniers
Date: Fri Jan 19 2018 - 14:08:43 EST


sorry, for new people I just cc'ed: https://patchwork.kernel.org/patch/10175831/

On Fri, Jan 19, 2018 at 2:06 PM, Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
> Hmm... I had mentioned this patch to some coworkers who have much more
> knowledge about LLVM than me. They had concern that LLVM needs memset
> to be defined, and that there were discussions on the llvm mailing
> list about this.
>
> I'm digging through trying to find anything relevant, maybe this one
> about memcpy: https://lists.llvm.org/pipermail/llvm-dev/2012-May/050108.html
>
> I wonder if -ffreestanding is more appropriate?



--
Thanks,
~Nick Desaulniers