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

kledzik at apple.com kledzik at apple.com
Tue Jan 13 18:39:15 PST 2015


It will just work.  libstdc++.dylib re-exports symbols from libc++abi.dylib:

[/tmp]> dyldinfo -export /usr/lib/libstdc++.dylib | grep __class_type_info 
[re-export] __ZTVN10__cxxabiv117__class_type_infoE (from libc++abi)
[re-export] __ZTSN10__cxxabiv117__class_type_infoE (from libc++abi)
[re-export] __ZTVN10__cxxabiv117__class_type_infoE (from libc++abi)
[re-export] __ZTSN10__cxxabiv117__class_type_infoE (from libc++abi)
[/tmp]>


http://reviews.llvm.org/D6960

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list