Skip to content

Commit 243a582

Browse files
committed
[bazel] update build for 2357e89
1 parent b81ba52 commit 243a582

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

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

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2887,10 +2887,10 @@ cc_library(
28872887
cc_library(
28882888
name = "DWARFLinker",
28892889
srcs = glob([
2890-
"lib/DWARFLinker/*.cpp",
2891-
"lib/DWARFLinker/*.h",
2890+
"lib/DWARFLinker/Classic/*.cpp",
2891+
"lib/DWARFLinker/Classic/*.h",
28922892
]),
2893-
hdrs = glob(["include/llvm/DWARFLinker/*.h"]),
2893+
hdrs = glob(["include/llvm/DWARFLinker/Classic/*.h"]),
28942894
copts = llvm_copts,
28952895
deps = [
28962896
":BinaryFormat",
@@ -2901,21 +2901,39 @@ cc_library(
29012901
":Support",
29022902
":Target",
29032903
":TargetParser",
2904+
":DWARFLinkerBase",
2905+
],
2906+
)
2907+
2908+
cc_library(
2909+
name = "DWARFLinkerBase",
2910+
srcs = glob([
2911+
"lib/DWARFLinker/*.cpp",
2912+
"lib/DWARFLinker/*.h",
2913+
]),
2914+
hdrs = glob(["include/llvm/DWARFLinker/*.h"]),
2915+
copts = llvm_copts,
2916+
deps = [
2917+
":BinaryFormat",
2918+
":CodeGen",
2919+
":DebugInfoDWARF",
2920+
":Support",
2921+
":Target",
29042922
],
29052923
)
29062924

29072925
cc_library(
29082926
name = "DWARFLinkerParallel",
29092927
srcs = glob([
2910-
"lib/DWARFLinkerParallel/*.cpp",
2911-
"lib/DWARFLinkerParallel/*.h",
2928+
"lib/DWARFLinker/Parallel/*.cpp",
2929+
"lib/DWARFLinker/Parallel/*.h",
29122930
]),
2913-
hdrs = glob(["include/llvm/DWARFLinkerParallel/*.h"]),
2931+
hdrs = glob(["include/llvm/DWARFLinker/Parallel/*.h"]),
29142932
copts = llvm_copts,
29152933
deps = [
29162934
":BinaryFormat",
29172935
":CodeGen",
2918-
":DWARFLinker",
2936+
":DWARFLinkerBase",
29192937
":DebugInfoDWARF",
29202938
":MC",
29212939
":Object",

0 commit comments

Comments
 (0)