llvm-project/libcxx
Eric Fiselier a75c1bf9f6 Revert r280944 - Added 'inline' attribute to basic_string's destructor
This patch causes a couple of issues:

1) It triggers http://llvm.org/PR30341. Although the bug is not truly a libc++
bug it breaks the LLVM build using libc++. Reverting this patch is only
a temporary workaround until Clang is fixed.

2) It adds yet another ABI incompatibility when libc++.so is compiled with GCC.
Specifically GCC doesn't ignore the _LIBCPP_INLINE_VISIBILITY on the out-of-line
definition when compiling the dylib. This causes the externally instantiated
~basic_string symbol to have hidden visibility.

This patch should be recommitted after addressing (1) and (2). (2) can be fixed
by adding _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY which is defined as
__attribute__((visibility("default"), always_inline)) as opposed to
_LIBCPP_INLINE_VISIBILITY which makes the symbol hidden.

llvm-svn: 281562
2016-09-14 23:52:01 +00:00
..
benchmarks Improve CMake output when registering benchmarks 2016-09-07 00:57:26 +00:00
cmake [CMake] NFC. Missed the other uses in r280406 2016-09-01 19:47:39 +00:00
docs Enable installation of libc++experimental by default. 2016-09-07 01:15:10 +00:00
include Revert r280944 - Added 'inline' attribute to basic_string's destructor 2016-09-14 23:52:01 +00:00
lib [libcxx] Enable building and testing of libcxx with ThreadSanitizer on OS X 2016-09-14 14:12:50 +00:00
src [libcxx] Fix a data race in call_once 2016-09-04 09:55:12 +00:00
test [libcxx] Add a TSan regression test for a data race in call_once 2016-09-14 14:15:42 +00:00
utils Update Google Benchmark library. 2016-08-29 19:12:01 +00:00
www Mark LWG 2716 as complete - shuffle and sample disallows lvalue URNGs. 2016-08-28 21:55:00 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.gitignore Add MSVC specifics to .gitignore. Patch from STL@microsoft.com 2016-08-03 05:51:19 +00:00
CMakeLists.txt [libcxx] Introduce an externally-threaded libc++ variant. 2016-09-11 21:46:40 +00:00
CREDITS.TXT Add entry to CREDITS.TXT for propagate_const 2016-06-19 19:36:28 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:39:53 +00:00
TODO.TXT Test commit to see if libcxx.llvm.org/docs builds 2015-09-04 22:57:00 +00:00