diff options
author | itrofimow <i.trofimow@yandex.ru> | 2024-01-22 19:12:41 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 10:12:41 -0500 |
commit | 51e91b64d0deb6a743861c2a0fba84865250036e (patch) | |
tree | 1863c3766d4d40d4f4aad9528efdfbfbe0d867c6 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 6ba62f4f251763745d39194ecd33ebaf7a739059 (diff) | |
download | llvm-51e91b64d0deb6a743861c2a0fba84865250036e.zip llvm-51e91b64d0deb6a743861c2a0fba84865250036e.tar.gz llvm-51e91b64d0deb6a743861c2a0fba84865250036e.tar.bz2 |
[libc++abi] Implement __cxa_init_primary_exception and use it to optimize std::make_exception_ptr (#65534)
This patch implements __cxa_init_primary_exception, an extension to the
Itanium C++ ABI. This extension is already present in both libsupc++ and
libcxxrt. This patch also starts making use of this function in
std::make_exception_ptr: instead of going through a full throw/catch
cycle, we are now able to initialize an exception directly, thus making
std::make_exception_ptr around 30x faster.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions