Skip to content

Commit a4bce5f

Browse files
committed
[bazel] Fix layering_check issues of {llvm,clang}:all
1 parent 2e28546 commit a4bce5f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

utils/bazel/llvm-project-overlay/clang/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,7 @@ cc_library(
11941194
srcs = glob(["lib/CrossTU/*.cpp"]),
11951195
hdrs = glob(["include/clang/CrossTU/*.h"]),
11961196
deps = [
1197+
":analysis",
11971198
":ast",
11981199
":basic",
11991200
":frontend",

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,9 @@ cc_library(
432432
]),
433433
copts = llvm_copts,
434434
deps = [
435+
":BinaryFormat",
435436
":DebugInfo",
437+
":DebugInfoCodeView",
436438
":DebugInfoDWARF",
437439
":DebugInfoPDB",
438440
":MC",
@@ -1628,8 +1630,8 @@ cc_library(
16281630
":DebugInfoCodeView",
16291631
":DebugInfoDWARF",
16301632
":IPO",
1631-
":Instrumentation",
16321633
":IRPrinter",
1634+
":Instrumentation",
16331635
":MC",
16341636
":MCParser",
16351637
":ProfileData",
@@ -2483,6 +2485,7 @@ cc_library(
24832485
":JITLinkTableGen",
24842486
":Object",
24852487
":Option",
2488+
":OrcShared",
24862489
":OrcTargetProcess",
24872490
":Support",
24882491
":config",
@@ -2621,6 +2624,7 @@ cc_library(
26212624
hdrs = glob(["include/llvm/DWARFLinker/*.h"]),
26222625
copts = llvm_copts,
26232626
deps = [
2627+
":BinaryFormat",
26242628
":CodeGen",
26252629
":DebugInfoDWARF",
26262630
":MC",
@@ -2907,6 +2911,7 @@ cc_binary(
29072911
":MC",
29082912
":Object",
29092913
":Option",
2914+
":Remarks",
29102915
":Support",
29112916
":Target",
29122917
":config",
@@ -3119,6 +3124,7 @@ cc_binary(
31193124
":Object",
31203125
":ProfileData",
31213126
":Support",
3127+
":config",
31223128
],
31233129
)
31243130

@@ -4035,8 +4041,12 @@ cc_binary(
40354041
":AllTargetsCodeGens",
40364042
":AllTargetsDisassemblers",
40374043
":Core",
4044+
":DebugInfoDWARF",
40384045
":Demangle",
4046+
":IPO",
40394047
":MC",
4048+
":MCDisassembler",
4049+
":Object",
40404050
":ProfileData",
40414051
":Support",
40424052
":Symbolize",

0 commit comments

Comments
 (0)