[libc++] Fix link error with _LIBCPP_HIDE_FROM_ABI_PER_TU and std::string
authorLouis Dionne <ldionne@apple.com>
Fri, 19 Jul 2019 11:52:55 +0000 (11:52 +0000)
committerLouis Dionne <ldionne@apple.com>
Fri, 19 Jul 2019 11:52:55 +0000 (11:52 +0000)
commite068c7463f21ab232982ddebe34e6cd610ffc175
tree96a0acc779e8eea4ed6107555eaa61d8bcc78473
parent06841eab009445ee455d85dc9eee17d3a214bb7d
[libc++] Fix link error with _LIBCPP_HIDE_FROM_ABI_PER_TU and std::string

Summary:
This is effectively a revert of r344616, which was a partial fix for
PR38964 (compilation of <string> with GCC in C++03 mode). However, that
configuration is explicitly not supported anymore and that partial fix
breaks compilation with Clang when per-TU insulation is provided.

PR42676
rdar://52899715

Reviewers: mclow.lists, EricWF

Subscribers: christof, jkorous, dexonsmith, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D64941

llvm-svn: 366567
libcxx/include/string
libcxx/test/libcxx/strings/basic.string/PR42676.sh.cpp [new file with mode: 0644]