Unbreak module builds by making InstructionWorklist.h non-modular

This regressed in D110181 and apparently the header intentionally requires
DEBUG_TYPE to be defined by the including file. Just exclude the header from
the module to unbreak the build.
This commit is contained in:
Raphael Isemann 2021-09-22 12:14:50 +02:00
parent d0746f2e9b
commit a5e1c746b8
1 changed files with 3 additions and 0 deletions

View File

@ -388,6 +388,9 @@ module LLVM_Transforms {
umbrella "Transforms"
module * { export * }
// Requires DEBUG_TYPE to be defined by including file.
exclude header "Transforms/Utils/InstructionWorklist.h"
}
extern module LLVM_Extern_Utils_DataTypes "module.extern.modulemap"