llvm-project/libcxx/lib
Louis Dionne 549048f390 [libc++] Make sure we re-export some missing libc++abi symbols from libc++
Summary:
Ensure we re-export __cxa_throw_bad_array_new_length and
__cxa_uncaught_exceptions from libc++, since they are now
provided by libc++abi.

Doing this allows us to stop linking explicitly against libc++abi in
the libc++abi tests, since libc++ re-exports all the necessary symbols.
However, there is one caveat to that. We don't want libc++ to re-export
__cxa_uncaught_exception (the singular form), since it's only provided
for backwards compatibility. Hence, for the single test where we check
this backwards compatibility, we explicitly link against libc++abi.

PR27405
PR22654

Reviewers: EricWF

Subscribers: christof, jkorous, dexonsmith, libcxx-commits

Tags: #libc

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

llvm-svn: 358690
2019-04-18 17:18:15 +00:00
..
abi [libc++] Make sure we re-export some missing libc++abi symbols from libc++ 2019-04-18 17:18:15 +00:00
CMakeLists.txt [CMake] Split linked libraries for shared and static libc++ 2019-04-17 21:41:09 +00:00
libc++abi-new-delete.exp [libc++] Update the list of symbols exported from libc++abi for new/delete 2019-03-22 20:18:17 +00:00
libc++abi.v1.exp [libc++][CMake] Clean up some of the libc++ re-exporting logic 2019-03-20 18:16:24 +00:00
libc++abi.v2.exp [libc++] Make sure we re-export some missing libc++abi symbols from libc++ 2019-04-18 17:18:15 +00:00
libc++sjlj-abi.v1.exp [libc++][CMake] Clean up some of the libc++ re-exporting logic 2019-03-20 18:16:24 +00:00
libc++sjlj-abi.v2.exp [libc++] Re-export the sjlj ABI v2 for ARM architectures 2019-03-22 19:38:53 +00:00
libc++unexp.exp
notweak.exp
weak.exp