Skip to content

Commit a5e1c74

Browse files
committed
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.
1 parent d0746f2 commit a5e1c74

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
@@ -388,6 +388,9 @@ module LLVM_Transforms {
388388
umbrella "Transforms"
389389

390390
module * { export * }
391+
392+
// Requires DEBUG_TYPE to be defined by including file.
393+
exclude header "Transforms/Utils/InstructionWorklist.h"
391394
}
392395

393396
extern module LLVM_Extern_Utils_DataTypes "module.extern.modulemap"

0 commit comments

Comments
 (0)