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

From: Nick Desaulniers
Date: Fri Jan 19 2018 - 14:06:39 EST


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?