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

Alexey Samsonov vonosmas at gmail.com
Fri Jan 16 06:50:20 PST 2015

Clang driver adds -lstdc++ to linker invocation automatically if user
provides -fsanitize=address or -fsanitize=undefined, yet we see linker

Alexander or Kuba, could you please check if the problem reproduces for you?

On Thu, Jan 15, 2015 at 3:40 AM, kledzik at apple.com <kledzik at apple.com>

> > but they went away after adding -lc++abi.
> and they would have gone away if they had added -lc++ or -lstdc++
> http://reviews.llvm.org/D6960
>   http://reviews.llvm.org/settings/panel/emailpreferences/

Alexey Samsonov
vonosmas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150116/1c3b7f4e/attachment.html>

More information about the cfe-commits mailing list