Re: [PATCH][ASan] Avoid ‘void operator delete(void*, size_t)’ is a usual (non-placement) deallocation function in C++14 warning in asan/

Kostya Serebryany kcc at
Fri Feb 6 13:40:12 PST 2015

So, the presence of sized-delete interceptors will now depend on the
ability of the host compiler to build it,
not on the ability of the target compiler. Not good.

Also, in the bug report I do not see what version of g++ is used with which
Maybe we should just add a flag that allows this code?

On Fri, Feb 6, 2015 at 2:43 AM, Uros Bizjak <ubizjak at> wrote:

> Hello!
> The attached patch avoids the above warning when asan is built in GCC tree.
> Bootstrapped in GCC tree, no testsuite regressions.
> Ref:
> Uros.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the llvm-commits mailing list