[PATCH] D31811: [compiler-rt] Add virtual destructor to base class to avoid warning

Ivan Krasin via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 08:20:46 PDT 2017


Hi Dean,

I had to revert it, because my change broke sanitizers build. In
particular, this header (and the source) is a part of libclang_rt.asan,
which does not depend on c++ std library. And adding the destructor creates
an undefined reference to the operator delete.

Sorry, still didn't get time to properly fix it, as the bot that shows the
failure with the current code has 2 unrelated breakages that I also need
fix (and 1 more breakage was fixed yesterday)

On Mon, Apr 10, 2017 at 9:26 PM, Dean Michael Berris via Phabricator <
reviews at reviews.llvm.org> wrote:

> dberris added a comment.
>
> Just curious, why was this reverted? Is it an ABI issue?
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D31811
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/8ee8d656/attachment.html>


More information about the llvm-commits mailing list