[llvm] Add missing BigArchive container plugin to lldb's bazel build (PR #210304)
David Young via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 17 04:11:11 PDT 2026
https://github.com/youngd007 created https://github.com/llvm/llvm-project/pull/210304
Another missing plugin and its libraries in the LLDB bazel build. Based this one on source/Plugins/ObjectContainer/Big-Archive/CMakeLists.txt and its dependecies ( {}.cpp & {}.h)
waiting on CI to confirm bazel is correct as cannot build locally.
Can confirm this library will convert to BUCK internally at Meta and build with buck2 where we do have in the default plugin list.
>From 7bd018b0d564403143b1affb6ebd73197d7dbc7e Mon Sep 17 00:00:00 2001
From: David Young <davidayoung at meta.com>
Date: Fri, 17 Jul 2026 04:07:38 -0700
Subject: [PATCH] Add missing BigArchive container plugin to lldb's bazel build
---
.../lldb/source/Plugins/BUILD.bazel | 14 ++++++++++++++
.../lldb/source/Plugins/plugin_config.bzl | 1 +
2 files changed, 15 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel b/utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
index c1ef40c57e152..9ab02b8fa0e2a 100644
--- a/utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
@@ -608,6 +608,20 @@ cc_library(
],
)
+cc_library(
+ name = "PluginObjectContainerBigArchive",
+ srcs = glob(["ObjectContainer/Big-Archive/*.cpp"]),
+ hdrs = glob(["ObjectContainer/Big-Archive/*.h"]),
+ includes = [".."],
+ deps = [
+ "//lldb:Core",
+ "//lldb:Host",
+ "//lldb:Symbol",
+ "//lldb:SymbolHeaders",
+ "//llvm:Support",
+ ],
+)
+
cc_library(
name = "PluginObjectContainerMachOFileset",
srcs = glob(["ObjectContainer/Mach-O-Fileset/*.cpp"]),
diff --git a/utils/bazel/llvm-project-overlay/lldb/source/Plugins/plugin_config.bzl b/utils/bazel/llvm-project-overlay/lldb/source/Plugins/plugin_config.bzl
index 86ebe463879dc..dce15a14069fe 100644
--- a/utils/bazel/llvm-project-overlay/lldb/source/Plugins/plugin_config.bzl
+++ b/utils/bazel/llvm-project-overlay/lldb/source/Plugins/plugin_config.bzl
@@ -51,6 +51,7 @@ DEFAULT_PLUGINS = [
"MemoryHistoryASan",
"ObjCLanguage",
"ObjCPlusPlusLanguage",
+ "ObjectContainerBigArchive",
"ObjectContainerBSDArchive",
"ObjectContainerMachOArchive",
"ObjectContainerMachOFileset",
More information about the llvm-commits
mailing list