mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 11:16:06 +00:00

In code we use `#include "llvm/Lib/Header.h"` which is located in "llvm/include/llvm/Lib/Header.h", so we use "llvm/include/" as a header search path. We should put modulemaps in the same directory and shouldn't rely on clang to search in immediate subdirectories. rdar://106677321 Differential Revision: https://reviews.llvm.org/D148776
36 lines
845 B
Plaintext
36 lines
845 B
Plaintext
|
|
module LLVM_Extern_CodeGenTypes_Gen {
|
|
textual header "llvm/CodeGen/GenVT.inc"
|
|
}
|
|
|
|
module LLVM_Extern_Config_Def {
|
|
textual header "llvm/Config/AsmParsers.def"
|
|
textual header "llvm/Config/AsmPrinters.def"
|
|
textual header "llvm/Config/Disassemblers.def"
|
|
textual header "llvm/Config/Targets.def"
|
|
export *
|
|
}
|
|
|
|
module LLVM_Extern_IR_Attributes_Gen {
|
|
textual header "llvm/IR/Attributes.gen"
|
|
textual header "llvm/IR/Attributes.inc"
|
|
}
|
|
|
|
module LLVM_Extern_IR_Intrinsics_Gen {
|
|
textual header "llvm/IR/Intrinsics.gen"
|
|
textual header "llvm/IR/Intrinsics.inc"
|
|
}
|
|
|
|
module LLVM_Extern_IR_Intrinsics_Enum {
|
|
textual header "llvm/IR/IntrinsicEnums.inc"
|
|
}
|
|
|
|
module LLVM_Extern_Utils_DataTypes {
|
|
header "llvm/Support/DataTypes.h"
|
|
export *
|
|
}
|
|
|
|
module LLVM_Extern_TargetParser_Gen {
|
|
textual header "llvm/TargetParser/RISCVTargetParserDef.inc"
|
|
}
|