Fix modules build after introduction of PassSupport.h include check

D78815 added a check that ensures that PassSupport.h and PassAnalysisSupport.h
aren't included directly. However, as compiling this header into a module will
try to parse it with a clean preprocessor state, this check is also triggered
there. The check seems to make sense and it seems that compiling this header
into its own module is a mistake, so this patch makes those two headers
textual in the modulemap.
This commit is contained in:
Raphael Isemann 2020-04-27 13:51:22 +02:00
parent d9e174dbf7
commit 8d15e222da
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@ module LLVM_Pass {
// PassSupport.h and PassAnalysisSupport.h are made available only through
// Pass.h.
header "Pass.h"
header "PassSupport.h"
header "PassAnalysisSupport.h"
textual header "PassSupport.h"
textual header "PassAnalysisSupport.h"
export *
}