The header files are designed to be used always together (through Pass.h).
Addresses the first part of https://llvm.org/bugs/show_bug.cgi?id=27991
Patch by Cristina Cristescu and me.
Reviewed by Richard Smith.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272877
91177308-0d34-0410-b5e6-
96231b3b80d8
exclude header "ExecutionEngine/OrcMCJITReplacement.h"
}
-module LLVM_IR {
- requires cplusplus
+module LLVM_Pass {
+ module Pass {
+ // PassSupport.h and PassAnalysisSupport.h are made available only through
+ // Pass.h.
+ header "Pass.h"
+ header "PassSupport.h"
+ header "PassAnalysisSupport.h"
+ export *
+ }
- // FIXME: Is this the right place for these?
- module Pass { header "Pass.h" export * }
- module PassSupport { header "PassSupport.h" export * }
- module PassAnalysisSupport { header "PassAnalysisSupport.h" export * }
module PassRegistry { header "PassRegistry.h" export * }
module InitializePasses { header "InitializePasses.h" export * }
+}
+
+module LLVM_IR {
+ requires cplusplus
umbrella "IR"
module * { export * }