commit | 2d900a4d383df4f273eaba02c84553fc2f8c77a9 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Feb 07 23:23:23 2018 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Feb 07 23:23:23 2018 +0000 |
tree | ae45c15f571ba183efd650653747af04c9ab91b5 | |
parent | f23deca27d417faefd8c3dfe59e68c212fa63d68 [diff] |
Fix compilation in C++17 mode. C++17 removes `std::unexpected_handler`, but libc++abi needs it to define `__cxa_exception`. When building against libc++, this is easily rectified by telling libc++ we're building the library. We already do this in the other places where we need these symbols. Differential Revision: https://reviews.llvm.org/D42987 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@324542 91177308-0d34-0410-b5e6-96231b3b80d8