<div class="__aliyun_email_body_block"><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">Hi, every one.</span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><br ></span></div><div  style="clear:both;">When I change the compiler of a project from gcc to clang, I met a problem about `aligned_alloc`. `aligned_alloc` accepts two arguments, one for alignment and another for size. </div><div  style="clear:both;">The standard document says that the `size` must be integral multiple of `alignment`. But the gcc allows more relaxing restriction.</div><div  style="clear:both;"><br ></div><div  style="clear:both;">Now I met a external library which depend on this behavior, which would fail when the ASanityChecker checks it. And I can not modify the codes in that library to generate a new library.</div><div  style="clear:both;">So I want to suppres the asanity check for `aligned_alloc`. I know here is a document (https://clang.llvm.org/docs/AddressSanitizer.html#suppressing-reports-in-external-libraries).</div><div  style="clear:both;">However, it doesn't work when I try to write:</div><div  style="clear:both;">```</div><div  style="clear:both;">interceptor_via_fun:aligned_alloc</div><div  style="clear:both;">```</div><div  style="clear:both;">I also tried to write the function name who call `aligned_alooc`.  But it doesn't work, too.</div><div  style="clear:both;"><br ></div><div  style="clear:both;">I know I need to ask to something like compiler-rt dev mailing list. But I didn't find it. So I ask it here.</div><div  style="clear:both;"><br ></div><div  style="clear:both;">Thanks,</div><div  style="clear:both;">Chuanqi </div></div>