diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2012-05-19 20:20:49 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2012-05-19 20:20:49 +0000 |
| commit | ed81e910bd3c2f8e639d66c215eda0d0a6221010 (patch) | |
| tree | 6cafed1a56422672a8124870bd3e1ddb9b6ada45 /libcxx/include | |
| parent | 900c7cb7cefa249469b58f9b6965679d9aa7fa41 (diff) | |
| download | bcm5719-llvm-ed81e910bd3c2f8e639d66c215eda0d0a6221010.tar.gz bcm5719-llvm-ed81e910bd3c2f8e639d66c215eda0d0a6221010.zip | |
Revert fix to http://llvm.org/bugs/show_bug.cgi?id=12867 for the reason now included in the code comment.
llvm-svn: 157128
Diffstat (limited to 'libcxx/include')
| -rw-r--r-- | libcxx/include/memory | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/include/memory b/libcxx/include/memory index 8456a942d1e..0f3ccec50af 100644 --- a/libcxx/include/memory +++ b/libcxx/include/memory @@ -3603,9 +3603,10 @@ public: long use_count() const _NOEXCEPT {return __shared_count::use_count();} __shared_weak_count* lock() _NOEXCEPT; -#ifndef _LIBCPP_NO_RTTI + // purposefully not protected with #ifndef _LIBCPP_NO_RTTI because doing so + // breaks ABI for those clients who need to compile their projects with + // -fno-rtti and yet link against a libc++.dylib compiled without -fno-rtti. virtual const void* __get_deleter(const type_info&) const _NOEXCEPT; -#endif private: virtual void __on_zero_shared_weak() _NOEXCEPT = 0; }; |

