[llvm] [ModuleMap] Fix module build after #141750 (PR #142670)

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 13:49:49 PDT 2025


https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/142670

Add `CodeViewLanguages.def` to textual header in LLVM_DebugInfo_CodeView
to fix clang module build of LLVM.


>From aaba018fa49bc1811e31127a21d678db9cee4e0e Mon Sep 17 00:00:00 2001
From: Steven Wu <stevenwu at apple.com>
Date: Tue, 3 Jun 2025 13:49:39 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
 =?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Created using spr 1.3.6
---
 llvm/include/module.modulemap | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/include/module.modulemap b/llvm/include/module.modulemap
index b378023453241..9d7dbb8e4b071 100644
--- a/llvm/include/module.modulemap
+++ b/llvm/include/module.modulemap
@@ -178,9 +178,10 @@ module LLVM_DebugInfo_CodeView {
   module * { export * }
 
   // These are intended for (repeated) textual inclusion.
+  textual header "llvm/DebugInfo/CodeView/CodeViewLanguages.def"
   textual header "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
-  textual header "llvm/DebugInfo/CodeView/CodeViewTypes.def"
   textual header "llvm/DebugInfo/CodeView/CodeViewSymbols.def"
+  textual header "llvm/DebugInfo/CodeView/CodeViewTypes.def"
 }
 
 module LLVM_DWARFLinker {



More information about the llvm-commits mailing list