[lkml]   [2018]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] kasan: don't emit builtin calls when sanitization is off
On Fri, Jan 19, 2018 at 8:06 PM, Nick Desaulniers
<> 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:
> I wonder if -ffreestanding is more appropriate?

I don't mind using either of those, they both fix the issue.

I'm struggling to understand the difference though. GCC documentation
doesn't really explain it [1] and Clang documentation [2] is
completely useless in this case.


 \ /
  Last update: 2018-01-22 18:23    [W:0.081 / U:2.872 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site