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

Kostya Serebryany kcc at google.com
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
flags.
Maybe we should just add a flag that allows this code?

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

> Hello!
>
> The attached patch avoids the above warning when asan is built in GCC tree.
>
> Bootstrapped in GCC tree, no testsuite regressions.
>
> Ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64841
>
> Uros.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/f6b4554d/attachment.html>


More information about the llvm-commits mailing list