[all-commits] [llvm/llvm-project] bf68a5: [libc++] Start classifying debug mode features wit...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Nov 15 08:18:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf68a595f6f868393a231aea5f48273a81e650d9
      https://github.com/llvm/llvm-project/commit/bf68a595f6f868393a231aea5f48273a81e650d9
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M libcxx/docs/DesignDocs/DebugMode.rst
    M libcxx/include/__debug
    M libcxx/include/span
    M libcxx/include/string
    M libcxx/include/vector

  Log Message:
  -----------
  [libc++] Start classifying debug mode features with more granularity

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.

Differential Revision: https://reviews.llvm.org/D138033




More information about the All-commits mailing list