[PATCH] Always add -lc++abi when using vptr sanitizer on Darwin.

Nick Kledzik kledzik at apple.com
Fri Jan 30 14:16:57 PST 2015


On Jan 30, 2015, at 11:51 AM, Alexey Samsonov <vonosmas at gmail.com> wrote:

> Nick, Richard,
> 
> So, if I read this correctly, the correct fix will be to add _ZTIN symbols to lists of libc++abi re-exported from libc++ (libc++abi.exp, libc++abi2.exp, libc++sjlj-abi.exp)?
> 
> Even if we add this change, this will only fix problems with trunk libc++/libc++abi, but not with libraries already installed on Mac OS systems. Do you think the suggested patch is a viable workaround?
Yes.   

It would be good to comment it now so we eventually conditionalize it on the min-OS-version, so the use of directly linking to libc++abi will fade away.

-Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150130/8b3a387f/attachment.html>


More information about the cfe-commits mailing list