[libcxx-commits] [libcxx] [libc++] Add __assertion_handler to the modulemap (PR #131031)

Ian Anderson via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 12 14:49:19 PDT 2025


================
@@ -2285,6 +2285,7 @@ module std [system] {
   }
   module internal_assert {
     header "__assert"
+    header "__assertion_handler" // Generated via CMake
----------------
ian-twilightcoder wrote:

This should be in a separate submodule - in general each submodule should have only a single `header` statement, otherwise you "fuse" the two headers. i.e. wherever you have `#include <__assertion_handler>` it'll also include `__assert` which is at least unintuitive.

https://github.com/llvm/llvm-project/pull/131031


More information about the libcxx-commits mailing list