hanchenye-llvm-project/libcxx/lib
Eric Fiselier a0dd66423d Automatically detect export lists for OS X.
Summary:
Libc++ reexports symbols from the system libc++abi using -reexport_symbols_list. This can cause a linker failure if the list contains symbols not defined in the system libc++abi.
This patch attempts to detect the OS X version and use it to determine the correct symbol list. 

It's my understanding that `lib/libc++abi2.exp` should be used on 10.9 and greater. Otherwise 'lib/libc++abi.exp' should be used

This fixes PR25666 (https://llvm.org/bugs/show_bug.cgi?id=25666)

Reviewers: mclow.lists, bcraig, dexonsmith, EricWF

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D20772

llvm-svn: 272723
2016-06-14 21:55:14 +00:00
..
CMakeLists.txt Automatically detect export lists for OS X. 2016-06-14 21:55:14 +00:00
buildit [libcxx] Remove -Wpadded from buildit script. 2016-01-27 01:55:11 +00:00
libc++abi.exp
libc++abi2.exp
libc++sjlj-abi.exp
libc++unexp.exp
notweak.exp
weak.exp