Skip to content

modulemap: add arm64 intrinsics header #142653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

Steelskin
Copy link
Contributor

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

@llvmbot llvmbot added clang Clang issues not falling into any other category backend:X86 clang:headers Headers provided by Clang, e.g. for intrinsics labels Jun 3, 2025
@llvmbot
Copy link
Member

llvmbot commented Jun 3, 2025

@llvm/pr-subscribers-backend-aarch64
@llvm/pr-subscribers-backend-x86

@llvm/pr-subscribers-clang

Author: Fabrice de Gans (Steelskin)

Changes

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


Full diff: https://github.com/llvm/llvm-project/pull/142653.diff

1 Files Affected:

  • (modified) clang/lib/Headers/module.modulemap (+7)
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 *

The header was missing from the modulemap definition, resulting in a
breakage for Swift with recent Windows SDK headers.
@Steelskin Steelskin force-pushed the fabrice/add-arm64-intrinsics-module branch from 3324034 to bd1690f Compare June 3, 2025 18:52
@compnerd compnerd merged commit 50c5704 into llvm:main Jun 4, 2025
12 checks passed
Steelskin added a commit to Steelskin/llvm-project that referenced this pull request Jun 4, 2025
The header was missing from the modulemap definition, resulting in a
breakage for Swift with recent Windows SDK headers.

(cherry-picked from commit llvm/llvm-project@50c5704)
@Steelskin Steelskin deleted the fabrice/add-arm64-intrinsics-module branch June 10, 2025 21:29
rorth pushed a commit to rorth/llvm-project that referenced this pull request Jun 11, 2025
The header was missing from the modulemap definition, resulting in a
breakage for Swift with recent Windows SDK headers.
DhruvSrivastavaX pushed a commit to DhruvSrivastavaX/lldb-for-aix that referenced this pull request Jun 12, 2025
The header was missing from the modulemap definition, resulting in a
breakage for Swift with recent Windows SDK headers.
compnerd added a commit to swiftlang/llvm-project that referenced this pull request Jun 12, 2025
…module-map

🍒 modulemap: add arm64 intrinsics header (llvm#142653)
Steelskin added a commit to Steelskin/llvm-project that referenced this pull request Jun 12, 2025
The header was missing from the modulemap definition, resulting in a
breakage for Swift with recent Windows SDK headers.

(cherry-picked from commit llvm/llvm-project@50c5704)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:AArch64 backend:X86 clang:headers Headers provided by Clang, e.g. for intrinsics clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants