HomePhabricator

[libc++][CMake] Clean up some of the libc++ re-exporting logic

Description

[libc++][CMake] Clean up some of the libc++ re-exporting logic

Summary:
This change allows specifying the version of libc++abi's ABI to re-export
when configuring CMake. It also clearly identifies which ABI version of
libc++abi each export file contains.

Finally, it removes hardcoded knowledge about the 10.9 SDK for MacOS,
since that knowledge is not relevant anymore. Indeed, libc++ can't be
built with the toolchain that came with the 10.9 SDK anyway because
the version of Clang it includes is too old (for example if you want
to build a working libc++.dylib, you need bugfixes to visibility
attributes that are only in recent Clangs).

Reviewers: dexonsmith, EricWF

Subscribers: mgorny, christof, jkorous, arphaman, libcxx-commits

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

Details

Committed
ldionneMar 20 2019, 11:16 AM
Differential Revision
D59489: [libc++][CMake] Clean up some of the libc++ re-exporting logic
Parents
rL356586: [ValueTracking] Compute range for abs without nsw
Branches
Unknown
Tags
Unknown