[llvm] 1b3c25e - [llvm] Add RISCVTargetParser.def to the module map

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 21:39:21 PDT 2020


Author: Jonas Devlieghere
Date: 2020-07-16T21:39:13-07:00
New Revision: 1b3c25e7b61f44b80788f8758f0d7f0b013135b5

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

LOG: [llvm] Add RISCVTargetParser.def to the module map

This fixes the modules build.

Added: 
    

Modified: 
    llvm/include/llvm/module.modulemap

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap
index b262311a96a0..778a17c8aeee 100644
--- a/llvm/include/llvm/module.modulemap
+++ b/llvm/include/llvm/module.modulemap
@@ -388,7 +388,7 @@ module LLVM_Utils {
 
     umbrella "Support"
     module * { export * }
-    
+
     // Exclude this; it should only be used on Windows.
     exclude header "Support/Windows/WindowsSupport.h"
 
@@ -397,8 +397,9 @@ module LLVM_Utils {
     exclude header "Support/Solaris/sys/regset.h"
 
     // These are intended for textual inclusion.
-    textual header "Support/ARMTargetParser.def"
     textual header "Support/AArch64TargetParser.def"
+    textual header "Support/ARMTargetParser.def"
+    textual header "Support/RISCVTargetParser.def"
     textual header "Support/TargetOpcodes.def"
     textual header "Support/X86TargetParser.def"
   }


        


More information about the llvm-commits mailing list