https://github.com/Steelskin created 
https://github.com/llvm/llvm-project/pull/142653

The header was missing from the modulemap definition, resulting in a breakage 
for Swift with recent Windows SDK headers.

>From 3324034754b7877258be3f8a806ac3ab8ada3ab6 Mon Sep 17 00:00:00 2001
From: Fabrice de Gans <fabrice@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 | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/clang/lib/Headers/module.modulemap 
b/clang/lib/Headers/module.modulemap
index 35897a3ed0e79..8951fcc2c036c 100644
--- a/clang/lib/Headers/module.modulemap
+++ b/clang/lib/Headers/module.modulemap
@@ -35,6 +35,13 @@ module _Builtin_intrinsics [system] [extern_c] {
     }
   }
 
+  explicit module arm64 {
+    requires arm64
+
+    header "arm64intr.h"
+    export *
+  }
+
   explicit module intel {
     requires x86
     export *

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to