Skip to content

Commit ed760d1

Browse files
committed
[libc++] Mention __cxa_init_primary_exception in the ABI changelog
1 parent 530c72b commit ed760d1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

libcxx/lib/abi/CHANGELOG.TXT

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ New entries should be added directly below the "Version" header.
1616
Version 18.0
1717
------------
1818

19+
* [libc++abi] Implement __cxa_init_primary_exception and use it to optimize std::make_exception_ptr (#65534)
20+
21+
This patch implements __cxa_init_primary_exception, an extension to the Itanium C++ ABI.
22+
This extension is already present in both libsupc++ and libcxxrt. This patch also starts
23+
making use of this function in std::make_exception_ptr: instead of going through a full
24+
throw/catch cycle, we are now able to initialize an exception directly, thus making
25+
std::make_exception_ptr around 30x faster. Adding a new symbol is not an ABI break.
26+
27+
All platforms
28+
-------------
29+
Symbol added: __cxa_init_primary_exception
30+
1931
* [libc++] Simplify the implementation of locale::id
2032

2133
This patch removes a symbol defined in the library for std::locale::id::__init().

0 commit comments

Comments
 (0)