diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2023-05-17 09:30:30 -0700 |
---|---|---|
committer | Nick Desaulniers <ndesaulniers@google.com> | 2023-05-17 09:42:35 -0700 |
commit | 74d49b203c95a1fcb59fdc57b6ab3ce1d4b91491 (patch) | |
tree | 61d0ea4494e1a1f8b074209584d3c87866f207af /flang | |
parent | d3da5b4521f82e1b092006e3d168053e673f72d9 (diff) | |
download | llvm-74d49b203c95a1fcb59fdc57b6ab3ce1d4b91491.tar.gz |
[libcxxabi] define _LIBCPP_VERBOSE_ABORT
libc++ may be built with or without assertions. This causes definitions
of various methods of std::string_view to contain assertions and calls
to __libcpp_verbose_abort which libcxxabi does not provide. libcxxabi
does provide abort_message with the same interface, so define
_LIBCPP_VERBOSE_ABORT to use that. Otherwise D148566 will trigger
linkage failures for the missing symbol __libcpp_verbose_abort.
Link: https://libcxx.llvm.org/UsingLibcxx.html#enabling-the-safe-libc-mode
Reviewed By: #libc_abi, philnik, ldionne
Differential Revision: https://reviews.llvm.org/D149092
Diffstat (limited to 'flang')
0 files changed, 0 insertions, 0 deletions