From 1b3c25e7b61f44b80788f8758f0d7f0b013135b5 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 16 Jul 2020 21:38:49 -0700 Subject: [PATCH] [llvm] Add RISCVTargetParser.def to the module map This fixes the modules build. --- llvm/include/llvm/module.modulemap | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap index b262311..778a17c 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" } -- 2.7.4