projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0746f2
)
Unbreak module builds by making InstructionWorklist.h non-modular
author
Raphael Isemann
<teemperor@gmail.com>
Wed, 22 Sep 2021 10:14:50 +0000
(12:14 +0200)
committer
Raphael Isemann
<teemperor@gmail.com>
Wed, 22 Sep 2021 10:17:13 +0000
(12:17 +0200)
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.
llvm/include/llvm/module.modulemap
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/module.modulemap
b/llvm/include/llvm/module.modulemap
index
5191962
..
f2da26c
100644
(file)
--- 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"