[llvm] a5e1c74 - Unbreak module builds by making InstructionWorklist.h non-modular
Raphael Isemann via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 22 03:17:37 PDT 2021
Author: Raphael Isemann
Date: 2021-09-22T12:17:13+02:00
New Revision: a5e1c746b870d79142419a07a8aecc471eacfed1
URL: https://github.com/llvm/llvm-project/commit/a5e1c746b870d79142419a07a8aecc471eacfed1
DIFF: https://github.com/llvm/llvm-project/commit/a5e1c746b870d79142419a07a8aecc471eacfed1.diff
LOG: 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.
Added:
Modified:
llvm/include/llvm/module.modulemap
Removed:
################################################################################
diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap
index 5191962007fa..f2da26c217a6 100644
--- a/llvm/include/llvm/module.modulemap
+++ b/llvm/include/llvm/module.modulemap
@@ -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"
More information about the llvm-commits
mailing list