Skip to content

Commit 70a5ba2

Browse files
Teemperorfhahn
authored andcommitted
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. (cherry-picked from a5e1c74)
1 parent 6ba8c6b commit 70a5ba2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/module.modulemap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,9 @@ module LLVM_Transforms {
390390
umbrella "Transforms"
391391

392392
module * { export * }
393+
394+
// Requires DEBUG_TYPE to be defined by including file.
395+
exclude header "Transforms/Utils/InstructionWorklist.h"
393396
}
394397

395398
extern module LLVM_Extern_Utils_DataTypes "module.extern.modulemap"

0 commit comments

Comments
 (0)