Skip to content

Commit 43f2f57

Browse files
rupprechtgithub-actions[bot]
authored andcommitted
Automerge: [bazel] Remove DebugInfo files covered by more specific targets (#124138)
For example, `include/llvm/DebugInfo/DWARF/DWARFContext.h` is included as part of both the generic "DebugInfo" target as well as the specific "DebugInfoDWARF" target. It should only be in one. Tooling that manages build dependencies should be more accurate now.
2 parents 260be71 + 4310245 commit 43f2f57

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,8 @@ cc_library(
424424

425425
cc_library(
426426
name = "DebugInfo",
427-
hdrs = glob(["include/llvm/DebugInfo/**/*.h"]),
427+
hdrs = glob(["include/llvm/DebugInfo/*.h"]),
428428
copts = llvm_copts,
429-
textual_hdrs = glob(["include/llvm/DebugInfo/**/*.def"]),
430429
deps = [
431430
":Object",
432431
":Support",
@@ -607,6 +606,7 @@ cc_library(
607606
deps = [
608607
":BinaryFormat",
609608
":DebugInfo",
609+
":DebugInfoBTF",
610610
":DebugInfoDWARF",
611611
":DebugInfoPDB",
612612
":Demangle",
@@ -649,14 +649,14 @@ cc_binary(
649649
"utils/TableGen/Basic/Attributes.cpp",
650650
"utils/TableGen/Basic/CodeGenIntrinsics.cpp",
651651
"utils/TableGen/Basic/CodeGenIntrinsics.h",
652-
"utils/TableGen/Basic/SDNodeProperties.cpp",
653-
"utils/TableGen/Basic/SDNodeProperties.h",
654-
"utils/TableGen/Basic/TableGen.h",
655-
"utils/TableGen/Basic/TableGen.cpp",
656-
"utils/TableGen/Basic/SequenceToOffsetTable.h",
657652
"utils/TableGen/Basic/DirectiveEmitter.cpp",
658653
"utils/TableGen/Basic/IntrinsicEmitter.cpp",
659654
"utils/TableGen/Basic/RISCVTargetDefEmitter.cpp",
655+
"utils/TableGen/Basic/SDNodeProperties.cpp",
656+
"utils/TableGen/Basic/SDNodeProperties.h",
657+
"utils/TableGen/Basic/SequenceToOffsetTable.h",
658+
"utils/TableGen/Basic/TableGen.cpp",
659+
"utils/TableGen/Basic/TableGen.h",
660660
"utils/TableGen/Basic/VTEmitter.cpp",
661661
"utils/TableGen/llvm-min-tblgen.cpp",
662662
],
@@ -3019,6 +3019,7 @@ cc_library(
30193019
deps = [
30203020
":BinaryFormat",
30213021
":DebugInfo",
3022+
":DebugInfoDWARF",
30223023
":JITLink",
30233024
":OrcJIT",
30243025
":OrcShared",
@@ -4505,6 +4506,7 @@ cc_library(
45054506
":BinaryFormat",
45064507
":CodeGen",
45074508
":DebugInfo",
4509+
":DebugInfoBTF",
45084510
":DebugInfoDWARF",
45094511
":Debuginfod",
45104512
":Demangle",

0 commit comments

Comments
 (0)