[Lldb-commits] [lldb] [LLDB] Simplify Makefile for TestBundleWithDotInFilename (PR #225930)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 23 13:52:14 PDT 2026
https://github.com/adrian-prantl created https://github.com/llvm/llvm-project/pull/225930
None
>From c795352eea59975f7e46786c85ca8985a957d382 Mon Sep 17 00:00:00 2001
From: Adrian Prantl <aprantl at apple.com>
Date: Wed, 23 Sep 2026 13:51:30 -0700
Subject: [PATCH] [LLDB] Simplify Makefile for TestBundleWithDotInFilename
---
.../find-dsym/bundle-with-dot-in-filename/Makefile | 13 +++++--------
1 file changed, 5 insertions(+), 8 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 f13584041fb517..93a513043f1caa 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,11 +1,12 @@
+C_SOURCES := main.c
EXE := find-bundle-with-dots-in-fn
-all: clean $(EXE)
-
include Makefile.rules
-$(EXE):
- $(CC) $(ASAN_LDFLAGS) $(CFLAGS) -dynamiclib -o com.apple.sbd $(SRCDIR)/bundle.c
+$(EXE): hide.app
+
+hide.app: bundle.c
+ $(CC) $(ASAN_LDFLAGS) $(CFLAGS) -dynamiclib -o com.apple.sbd $<
mkdir com.apple.sbd.xpc
mv com.apple.sbd com.apple.sbd.xpc/
mkdir -p com.apple.sbd.xpc.dSYM/Contents/Resources/DWARF
@@ -13,7 +14,3 @@ $(EXE):
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