hanchenye-llvm-project/libcxx
Louis Dionne f9a52903ef [libc++] Remove Fuchsia-specific knowledge to pick the ABI version
Summary:
The ABI version used by libc++ is a configuration option just like any other
configuration option. It is a knob that can be used by vendors to customize
the libc++ that they ship. As such, we should not be hardcoding vendor-specific
configuration choices in libc++.

When building libc++ for Fuchsia, Fuchsia's build scripts should simply define
the libc++ ABI version to 2 -- this will result in the _LIBCPP_ABI_VERSION
macro being defined in the __config header that is generated when libc++ is
built and installed, which is the correct way to customize libc++'s behavior
for specific vendors.

Reviewers: phosek, EricWF

Subscribers: mgorny, christof, dexonsmith, cfe-commits, libcxx-commits

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

llvm-svn: 343079
2018-09-26 08:24:51 +00:00
..
benchmarks Add new string benchmarks 2018-07-10 04:11:22 +00:00
cmake [CMake] Don't install c++abi headers in standalone libc++ build 2018-07-25 22:57:39 +00:00
docs [libc++] Add deprecated attributes to many deprecated components 2018-09-23 18:35:00 +00:00
fuzzing Wrote my own version of is_permutation; that was dominating the timings 2018-01-19 03:17:45 +00:00
include [libc++] Remove Fuchsia-specific knowledge to pick the ABI version 2018-09-26 08:24:51 +00:00
lib [libcxx] Document new symbols __u64toa and __u32toa on Darwin 2018-09-23 21:10:06 +00:00
src Revert r342936 "Remove redundant null pointer check in operator delete" 2018-09-25 04:13:08 +00:00
test [libcxx] Fix the binder deprecation tests on Clang 5. 2018-09-23 23:17:48 +00:00
utils [libc++] Add _LIBCPP_ENABLE_NODISCARD and _LIBCPP_NODISCARD_EXT to allow pre-C++2a [[nodiscard]] 2018-09-22 17:54:48 +00:00
www Correct docs to reference the new libc++ lists. 2018-09-22 19:49:29 +00:00
.arcconfig [libcxx] Set up .arcconfig to point to new Diffusion CXX repository 2017-12-04 17:55:28 +00:00
.clang-format Make clang-format use C++03 syntax 2017-04-15 02:45:43 +00:00
.gitignore
CMakeLists.txt [libc++] Remove Fuchsia-specific knowledge to pick the ABI version 2018-09-26 08:24:51 +00:00
CREDITS.TXT Try again, this time with the correct address 2017-12-29 19:26:53 +00:00
LICENSE.TXT
NOTES.TXT Reland "Use custom command and target to install libc++ headers" 2018-06-12 03:10:02 +00:00
TODO.TXT Add list of filesystem NB comments to TODO.TXT so they can be tracked separately 2017-03-06 21:23:36 +00:00
appveyor-reqs-install.cmd Update Clang version on Appveyor bots 2018-04-04 04:33:09 +00:00
appveyor.yml Rename Appveyor install helper script. 2017-05-10 02:43:02 +00:00