Fix debug mode build w/o exceptions
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290652 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -41,7 +41,11 @@ _LIBCPP_NORETURN void __libcpp_abort_debug_function(__libcpp_debug_info const& i
|
||||
}
|
||||
|
||||
_LIBCPP_NORETURN void __libcpp_throw_debug_function(__libcpp_debug_info const& info) {
|
||||
#ifndef _LIBCPP_NO_EXCEPTIONS
|
||||
throw __libcpp_debug_exception(info);
|
||||
#else
|
||||
__libcpp_abort_debug_function(info);
|
||||
#endif
|
||||
}
|
||||
|
||||
struct __libcpp_debug_exception::__libcpp_debug_exception_imp {
|
||||
|
||||
Reference in New Issue
Block a user