forked from OSchip/llvm-project
[Bazel] Add include/llvm/Transforms/Utils/ModuleUtils.h to work around layer violation after D116542
There is a layer violation and can break clang -fmodule-name=X -fmodules-strict-decluse builds: * LLVMTransformUtils has `#include "llvm/Bitcode/BitcodeWriterPass.h"` * LLVMBitWriter depends on LLVMTransformUtils after D116542 Temporarily work around the issue.
This commit is contained in:
parent
8a9e4f245b
commit
2d5f857a1e
|
@ -904,6 +904,7 @@ cc_library(
|
|||
"include/llvm/Bitcode/BitcodeWriter.h",
|
||||
"include/llvm/Bitcode/BitcodeWriterPass.h",
|
||||
"include/llvm/Bitcode/LLVMBitCodes.h",
|
||||
"include/llvm/Transforms/Utils/ModuleUtils.h",
|
||||
],
|
||||
copts = llvm_copts,
|
||||
deps = [
|
||||
|
|
Loading…
Reference in New Issue