[all-commits] [llvm/llvm-project] 2d5f85: [Bazel] Add include/llvm/Transforms/Utils/ModuleUt...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jan 31 15:42:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d5f857a1eaf5f7a806d12953c79b96ed8952da8
      https://github.com/llvm/llvm-project/commit/2d5f857a1eaf5f7a806d12953c79b96ed8952da8
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list