[llvm] [bazel] Codesign debugserver on macOS (PR #91789)

Keith Smiley via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 11:29:32 PDT 2024


================
@@ -800,24 +801,20 @@ gentbl_cc_library(
     deps = ["//llvm:OptParserTdFiles"],
 )
 
+alias(
+    name = "gdb-server",
+    actual = select({
+        "@platforms//os:macos": ":debugserver",
+        "//conditions:default": ":lldb-server",
+    }),
+)
+
 cc_binary(
     name = "lldb",
     srcs = glob([
         "tools/driver/*.cpp",
         "tools/driver/*.h",
     ]),
-    data = [
----------------
keith wrote:

removing this just because it being here doesn't actually help lldb discover it at runtime, so we might as well just let users provide it themselves.

https://github.com/llvm/llvm-project/pull/91789


More information about the llvm-commits mailing list