forked from OSchip/llvm-project
[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:
parent
d9934d4939
commit
3a4d5ed232
|
@ -332,6 +332,12 @@ module LLVM_TableGen {
|
||||||
module LLVM_Transforms {
|
module LLVM_Transforms {
|
||||||
requires cplusplus
|
requires cplusplus
|
||||||
umbrella "Transforms"
|
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 * }
|
module * { export * }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue