1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

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 e2ba225180
commit 079aaa6492

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 *
}