[PATCH] D39308: [libcxx] Keep track of heap allocated regex states

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 15 10:30:22 PDT 2018


mclow.lists added a comment.
Herald added subscribers: bixia, christof.

What we need to do here is to here is to add a new macro `_LIBCPP_ABI_REGEX_MEMORY` in `<__config>` (around line 89) and then make these changes available only when this macro is defined.

By default - we get no change.
If `_LIBCPP_ABI_REGEX_MEMORY` is defined, we get the new behavior.

Then we can start adding other ABI changes as well.


https://reviews.llvm.org/D39308





More information about the cfe-commits mailing list