This feature checks that headers included by a file are provided by a
header exported by one of the direct dependencies of the build rule in
which it is contained. It ensures that appropriate layering (a goal of
the LLVM project) is preserved. So far, I'm only adding this to MLIR
because we've had it turned on internally since the beginning, so MLIR
is already layering clean. It would be nice to also enable it for LLVM,
but that requires some additional cleanup.
Details
Details
- Reviewers
jpienaar - Commits
- rGd4238fbf6a69: [Bazel] Enable layering_check for MLIR build
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo