[modulemap] exclude a non-module friendly header

Exclude Attributor.h from LLVM_Transforms to avoid
a link failure when building modular LLVM. 

llvm-svn: 368064
This commit is contained in:
Kristina Brooks 2019-08-06 17:16:56 +00:00
parent d9934d4939
commit 3a4d5ed232
1 changed files with 6 additions and 0 deletions

View File

@ -332,6 +332,12 @@ module LLVM_TableGen {
module LLVM_Transforms {
requires cplusplus
umbrella "Transforms"
// FIXME: This is far from a perfect solution but at the moment this header
// is difficult to modularize and would require splitting it up. Exclude it
// completely to avoid a link failure with modular builds.
exclude header "Transforms/IPO/Attributor.h"
module * { export * }
}