[llvm] db408ac - [Modules] Fix modular build. (#122034)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 18:02:14 PST 2025


Author: Volodymyr Sapsai
Date: 2025-01-07T18:02:10-08:00
New Revision: db408acc0498a8e5ece91b8d745e3cc412542398

URL: https://github.com/llvm/llvm-project/commit/db408acc0498a8e5ece91b8d745e3cc412542398
DIFF: https://github.com/llvm/llvm-project/commit/db408acc0498a8e5ece91b8d745e3cc412542398.diff

LOG: [Modules] Fix modular build. (#122034)

Add a new file to the module map and remove 2 missing files (migrated
from .def to .td).

Added: 
    

Modified: 
    clang/include/module.modulemap
    llvm/include/module.modulemap

Removed: 
    


################################################################################
diff  --git a/clang/include/module.modulemap b/clang/include/module.modulemap
index 5bb9f6b7a91f67..f00dede7fd526c 100644
--- a/clang/include/module.modulemap
+++ b/clang/include/module.modulemap
@@ -62,8 +62,6 @@ module Clang_Basic {
   textual header "clang/Basic/BuiltinsVE.def"
   textual header "clang/Basic/BuiltinsVEVL.gen.def"
   textual header "clang/Basic/BuiltinsWebAssembly.def"
-  textual header "clang/Basic/BuiltinsX86.def"
-  textual header "clang/Basic/BuiltinsX86_64.def"
   textual header "clang/Basic/BuiltinsXCore.def"
   textual header "clang/Basic/CFProtectionOptions.def"
   textual header "clang/Basic/CodeGenOptions.def"

diff  --git a/llvm/include/module.modulemap b/llvm/include/module.modulemap
index 6beb0e03e222d5..46277e128d9898 100644
--- a/llvm/include/module.modulemap
+++ b/llvm/include/module.modulemap
@@ -96,6 +96,7 @@ module LLVM_BinaryFormat {
     textual header "llvm/BinaryFormat/ELFRelocs/PowerPC64.def"
     textual header "llvm/BinaryFormat/ELFRelocs/PowerPC.def"
     textual header "llvm/BinaryFormat/ELFRelocs/RISCV.def"
+    textual header "llvm/BinaryFormat/ELFRelocs/RISCV_nonstandard.def"
     textual header "llvm/BinaryFormat/ELFRelocs/Sparc.def"
     textual header "llvm/BinaryFormat/ELFRelocs/SystemZ.def"
     textual header "llvm/BinaryFormat/ELFRelocs/VE.def"


        


More information about the llvm-commits mailing list