[Lldb-commits] [lldb] Revert "[LLDB] Simplify Makefile for TestBundleWithDotInFilename" (PR #226092)

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 24 02:56:26 PDT 2026


https://github.com/Teemperor created https://github.com/llvm/llvm-project/pull/226092

Reverts llvm/llvm-project#225930

This breaks the Green Dragon bot. Reverting for now.

>From 441b9d670cec0302e5106fc089c414da8acc77b8 Mon Sep 17 00:00:00 2001
From: Raphael Isemann <rise at apple.com>
Date: Thu, 24 Sep 2026 10:55:42 +0100
Subject: [PATCH] Revert "[LLDB] Simplify Makefile for
 TestBundleWithDotInFilename (#225930)"

This reverts commit 408ae6803f0cf2d8a65b00d3e1c9534113c5f0be.
---
 .../find-dsym/bundle-with-dot-in-filename/Makefile  | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/Makefile b/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/Makefile
index 93a513043f1ca..f13584041fb51 100644
--- a/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/Makefile
+++ b/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/Makefile
@@ -1,12 +1,11 @@
-C_SOURCES := main.c
 EXE := find-bundle-with-dots-in-fn
 
-include Makefile.rules
+all: clean $(EXE)
 
-$(EXE): hide.app
+include Makefile.rules
 
-hide.app: bundle.c
-	$(CC) $(ASAN_LDFLAGS) $(CFLAGS) -dynamiclib -o com.apple.sbd $<
+$(EXE):
+	$(CC) $(ASAN_LDFLAGS) $(CFLAGS) -dynamiclib -o com.apple.sbd $(SRCDIR)/bundle.c
 	mkdir com.apple.sbd.xpc
 	mv com.apple.sbd com.apple.sbd.xpc/
 	mkdir -p com.apple.sbd.xpc.dSYM/Contents/Resources/DWARF
@@ -14,3 +13,7 @@ hide.app: bundle.c
 	rm -rf com.apple.sbd.dSYM
 	mkdir hide.app
 	tar cf - com.apple.sbd.xpc com.apple.sbd.xpc.dSYM | ( cd hide.app;tar xBpf -)
+	$(CC) $(ASAN_LDFLAGS) $(CFLAGS) -o find-bundle-with-dots-in-fn $(SRCDIR)/main.c
+
+clean::
+	rm -rf a.out a.out.dSYM hide.app com.apple.sbd com.apple.sbd.dSYM com.apple.sbd.xpc com.apple.sbd.xpc.dSYM find-bundle-with-dots-in-fn find-bundle-with-dots-in-fn.dSYM



More information about the lldb-commits mailing list