[libcxx-commits] [PATCH] D125184: [libc++] fix std::to_string() crashing with _LIBCPP_DEBUG == 1

Luboš Luňák via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 8 01:51:24 PDT 2022


llunak created this revision.
llunak added a project: libc++.
Herald added a project: All.
llunak requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

String instances created from string.cpp are not registered
in debug_db because the file is compiled without debugging.
Handle it explicitly in an inline wrapper.

Fixes https://github.com/llvm/llvm-project/issues/55328 .


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125184

Files:
  libcxx/include/string
  libcxx/src/string.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125184.427914.patch
Type: text/x-patch
Size: 10512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220508/cfb77c66/attachment-0001.bin>


More information about the libcxx-commits mailing list