[PATCH] [compiler-rt] Implement AddressSanitizer suppressions

Alexey Samsonov vonosmas at gmail.com
Thu Dec 4 17:05:16 PST 2014


>>! In D6280#26, @kubabrecka wrote:
>>>! In D6280#25, @samsonov wrote:
>> But wait, how do you *enforce* that suppressions don't kick in if these functions are called from instrumented code? IIRC if the user writes memset() and we build it with Clang, it may or may not be turned into intrinsic and replaced with __asan_memfoo().
> 
> Oh, I see what you mean. I thought it was about intrinsic vs. inlined, but it's about intrinsic vs. regular function call. Ok, I think I'll change the test case to just check for direct memory accesses.

FWIW, I'd just delete this test case.

http://reviews.llvm.org/D6280






More information about the llvm-commits mailing list