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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 12 13:59:57 PDT 2025


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

That header is generated via CMake, but it is nonetheless present in the final installation, so it should be covered by the modulemap.

rdar://131418726

>From 1f606d1bc5b0dc98815d7ecb1296597f7db98d69 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Wed, 12 Mar 2025 14:58:29 -0600
Subject: [PATCH] [libc++] Add __assertion_handler to the modulemap

That header is generated via CMake, but it is nonetheless present
in the final installation, so it should be covered by the modulemap.

rdar://131418726
---
 libcxx/include/module.modulemap | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index b9964dac84acd..fd87c290406a4 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/include/module.modulemap
@@ -2285,6 +2285,7 @@ module std [system] {
   }
   module internal_assert {
     header "__assert"
+    header "__assertion_handler" // Generated via CMake
     export *
   }
 



More information about the libcxx-commits mailing list