[clang] modulemap: add arm64 intrinsics header (PR #142653)
Fabrice de Gans via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 3 11:52:25 PDT 2025
https://github.com/Steelskin updated https://github.com/llvm/llvm-project/pull/142653
>From bd1690f9ed915e382ed44ac7e14a1820f0ca1206 Mon Sep 17 00:00:00 2001
From: Fabrice de Gans <fabrice at thebrowser.company>
Date: Tue, 3 Jun 2025 11:26:04 -0700
Subject: [PATCH] modulemap: add arm64 intrinsics header
The header was missing from the modulemap definition, resulting in a
breakage for Swift with recent Windows SDK headers.
---
clang/lib/Headers/module.modulemap | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/clang/lib/Headers/module.modulemap b/clang/lib/Headers/module.modulemap
index 35897a3ed0e79..a72828625a629 100644
--- a/clang/lib/Headers/module.modulemap
+++ b/clang/lib/Headers/module.modulemap
@@ -35,6 +35,14 @@ module _Builtin_intrinsics [system] [extern_c] {
}
}
+ explicit module arm64 {
+ requires arm64
+ requires windows
+
+ header "arm64intr.h"
+ export *
+ }
+
explicit module intel {
requires x86
export *
More information about the cfe-commits
mailing list