[libcxx-commits] [PATCH] D138033: [libc++] Start classifying debug mode features with more granularity

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 15 06:57:20 PST 2022


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

I am starting to granularize debug-mode checks so they can be controlled
more individually. The goal is for vendors to eventually be able to select
which categories of checks they want embedded in their configuration of
the library with more granularity.

Note that this patch is a bit weird on its own because it does not touch
any of the containers that implement iterator bounds checking through the
__dereferenceable check of the legacy debug mode. However, I added TODOs
to string and vector to change that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138033

Files:
  libcxx/docs/DesignDocs/DebugMode.rst
  libcxx/include/__debug
  libcxx/include/span
  libcxx/include/string
  libcxx/include/vector

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138033.475461.patch
Type: text/x-patch
Size: 5905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221115/988d6187/attachment-0001.bin>


More information about the libcxx-commits mailing list