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
14 lines
316 B
Plaintext
14 lines
316 B
Plaintext
// This is copied into the build area for a $src != $build compilation.
|
|
module LLVM_Support_DataTypes {
|
|
header "llvm/Support/DataTypes.h"
|
|
export *
|
|
}
|
|
module LLVM_Config_ABI_Breaking {
|
|
header "llvm/Config/abi-breaking.h"
|
|
export *
|
|
}
|
|
module LLVM_Config_Config {
|
|
header "llvm/Config/llvm-config.h"
|
|
export *
|
|
}
|