summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/module.modulemap16
1 files changed, 14 insertions, 2 deletions
diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap
index 46f6e40041e..99401cc14bb 100644
--- a/llvm/include/llvm/module.modulemap
+++ b/llvm/include/llvm/module.modulemap
@@ -75,8 +75,8 @@ module LLVM_IR {
exclude header "IR/PassManager.h"
exclude header "IR/LegacyPassManager.h"
- // Exclude this; it's intended for (repeated) textual inclusion.
- exclude header "IR/Instruction.def"
+ // This is intended for (repeated) textual inclusion.
+ textual header "IR/Instruction.def"
}
module LLVM_LegacyPassManager {
@@ -161,6 +161,18 @@ module LLVM_Utils {
// FIXME: Mislayered?
exclude header "Support/TargetRegistry.h"
+
+ // These are intended for textual inclusion.
+ textual header "Support/ELFRelocs/AArch64.def"
+ textual header "Support/ELFRelocs/ARM.def"
+ textual header "Support/ELFRelocs/Hexagon.def"
+ textual header "Support/ELFRelocs/i386.def"
+ textual header "Support/ELFRelocs/Mips.def"
+ textual header "Support/ELFRelocs/PowerPC64.def"
+ textual header "Support/ELFRelocs/PowerPC.def"
+ textual header "Support/ELFRelocs/Sparc.def"
+ textual header "Support/ELFRelocs/SystemZ.def"
+ textual header "Support/ELFRelocs/x86_64.def"
}
}
OpenPOWER on IntegriCloud