[Lldb-commits] [lldb] Revert "[lldb/test] Codesign executables built with custom Makefile rules" (PR #190398)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 3 13:25:57 PDT 2026


https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/190398

Reverts llvm/llvm-project#189902 because this seems to cause hangs.

>From 1003a8d0adbe9e0d8fe50ec339e68ff8df097242 Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere <jonas at devlieghere.com>
Date: Fri, 3 Apr 2026 13:25:32 -0700
Subject: [PATCH] =?UTF-8?q?Revert=20"[lldb/test]=20Codesign=20executables?=
 =?UTF-8?q?=20built=20with=20custom=20Makefile=20rules=20(#1=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit 478a6abc0ceea812c9486d13fda4afbe876c670f.
---
 lldb/packages/Python/lldbsuite/test/make/Makefile.rules | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
index f8df9a7e192f2..f7f6e48f71e55 100644
--- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
@@ -728,13 +728,6 @@ include $(wildcard $(PREREQS) $(DYLIB_PREREQS))
 .PHONY: clean
 dsym:	$(DSYM)
 all:	$(EXE) $(DSYM)
-ifneq "$(CODESIGN)" ""
-	@for bin in $(EXE) a.out; do \
-		if [ -n "$$bin" ] && [ -f "$$bin" ]; then \
-			$(CODESIGN) -s -f - "$$bin" 2>/dev/null || true; \
-		fi; \
-	done
-endif
 clean::
 ifeq "$(findstring lldb-test-build.noindex, $(BUILDDIR))" ""
 	$(error Trying to invoke the clean rule, but not using the default build tree layout)



More information about the lldb-commits mailing list