summaryrefslogtreecommitdiff
path: root/contrib/llvm/include/llvm/module.modulemap
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-10 19:17:14 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-10 19:17:14 +0000
commitdb17bf38c59bc172953ed66cfe1b10c03c6bc383 (patch)
tree2712281fec99b99c2fcafd5b46439dfdd93261aa /contrib/llvm/include/llvm/module.modulemap
parent686fb94a00297bf9ff49d93b948925552a2ce8e0 (diff)
parent7ab83427af0f77b59941ceba41d509d7d097b065 (diff)
Notes
Diffstat (limited to 'contrib/llvm/include/llvm/module.modulemap')
-rw-r--r--contrib/llvm/include/llvm/module.modulemap44
1 files changed, 25 insertions, 19 deletions
diff --git a/contrib/llvm/include/llvm/module.modulemap b/contrib/llvm/include/llvm/module.modulemap
index e0780885d159..d906b05f7aaa 100644
--- a/contrib/llvm/include/llvm/module.modulemap
+++ b/contrib/llvm/include/llvm/module.modulemap
@@ -38,6 +38,31 @@ module LLVM_Backend {
}
module LLVM_Bitcode { requires cplusplus umbrella "Bitcode" module * { export * } }
+
+module LLVM_BinaryFormat {
+ requires cplusplus
+ umbrella "BinaryFormat" module * { export * }
+ textual header "BinaryFormat/Dwarf.def"
+ textual header "BinaryFormat/MachO.def"
+ textual header "BinaryFormat/ELFRelocs/AArch64.def"
+ textual header "BinaryFormat/ELFRelocs/AMDGPU.def"
+ textual header "BinaryFormat/ELFRelocs/ARM.def"
+ textual header "BinaryFormat/ELFRelocs/AVR.def"
+ textual header "BinaryFormat/ELFRelocs/BPF.def"
+ textual header "BinaryFormat/ELFRelocs/Hexagon.def"
+ textual header "BinaryFormat/ELFRelocs/i386.def"
+ textual header "BinaryFormat/ELFRelocs/Lanai.def"
+ textual header "BinaryFormat/ELFRelocs/Mips.def"
+ textual header "BinaryFormat/ELFRelocs/PowerPC64.def"
+ textual header "BinaryFormat/ELFRelocs/PowerPC.def"
+ textual header "BinaryFormat/ELFRelocs/RISCV.def"
+ textual header "BinaryFormat/ELFRelocs/Sparc.def"
+ textual header "BinaryFormat/ELFRelocs/SystemZ.def"
+ textual header "BinaryFormat/ELFRelocs/x86_64.def"
+ textual header "BinaryFormat/ELFRelocs/WebAssembly.def"
+ textual header "BinaryFormat/WasmRelocs/WebAssembly.def"
+}
+
module LLVM_Config { requires cplusplus umbrella "Config" module * { export * } }
module LLVM_DebugInfo {
@@ -259,25 +284,6 @@ module LLVM_Utils {
// These are intended for textual inclusion.
textual header "Support/ARMTargetParser.def"
textual header "Support/AArch64TargetParser.def"
- textual header "Support/Dwarf.def"
- textual header "Support/MachO.def"
- textual header "Support/ELFRelocs/AArch64.def"
- textual header "Support/ELFRelocs/AMDGPU.def"
- textual header "Support/ELFRelocs/ARM.def"
- textual header "Support/ELFRelocs/AVR.def"
- textual header "Support/ELFRelocs/BPF.def"
- textual header "Support/ELFRelocs/Hexagon.def"
- textual header "Support/ELFRelocs/i386.def"
- textual header "Support/ELFRelocs/Lanai.def"
- textual header "Support/ELFRelocs/Mips.def"
- textual header "Support/ELFRelocs/PowerPC64.def"
- textual header "Support/ELFRelocs/PowerPC.def"
- textual header "Support/ELFRelocs/RISCV.def"
- textual header "Support/ELFRelocs/Sparc.def"
- textual header "Support/ELFRelocs/SystemZ.def"
- textual header "Support/ELFRelocs/x86_64.def"
- textual header "Support/ELFRelocs/WebAssembly.def"
- textual header "Support/WasmRelocs/WebAssembly.def"
}
// This part of the module is usable from both C and C++ code.