Skip to content

Commit

Permalink
[bazel] Fix layering_check issues of {llvm,clang}:all
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Jan 23, 2023
1 parent 2e28546 commit a4bce5f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Expand Up @@ -1194,6 +1194,7 @@ cc_library(
srcs = glob(["lib/CrossTU/*.cpp"]),
hdrs = glob(["include/clang/CrossTU/*.h"]),
deps = [
":analysis",
":ast",
":basic",
":frontend",
Expand Down
12 changes: 11 additions & 1 deletion utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Expand Up @@ -432,7 +432,9 @@ cc_library(
]),
copts = llvm_copts,
deps = [
":BinaryFormat",
":DebugInfo",
":DebugInfoCodeView",
":DebugInfoDWARF",
":DebugInfoPDB",
":MC",
Expand Down Expand Up @@ -1628,8 +1630,8 @@ cc_library(
":DebugInfoCodeView",
":DebugInfoDWARF",
":IPO",
":Instrumentation",
":IRPrinter",
":Instrumentation",
":MC",
":MCParser",
":ProfileData",
Expand Down Expand Up @@ -2483,6 +2485,7 @@ cc_library(
":JITLinkTableGen",
":Object",
":Option",
":OrcShared",
":OrcTargetProcess",
":Support",
":config",
Expand Down Expand Up @@ -2621,6 +2624,7 @@ cc_library(
hdrs = glob(["include/llvm/DWARFLinker/*.h"]),
copts = llvm_copts,
deps = [
":BinaryFormat",
":CodeGen",
":DebugInfoDWARF",
":MC",
Expand Down Expand Up @@ -2907,6 +2911,7 @@ cc_binary(
":MC",
":Object",
":Option",
":Remarks",
":Support",
":Target",
":config",
Expand Down Expand Up @@ -3119,6 +3124,7 @@ cc_binary(
":Object",
":ProfileData",
":Support",
":config",
],
)

Expand Down Expand Up @@ -4035,8 +4041,12 @@ cc_binary(
":AllTargetsCodeGens",
":AllTargetsDisassemblers",
":Core",
":DebugInfoDWARF",
":Demangle",
":IPO",
":MC",
":MCDisassembler",
":Object",
":ProfileData",
":Support",
":Symbolize",
Expand Down

0 comments on commit a4bce5f

Please sign in to comment.