[Lldb-commits] [lldb] [LLDB] Simplify Makefile for TestBundleWithDotInFilename (PR #225930)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 23 13:52:57 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Adrian Prantl (adrian-prantl)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/225930.diff
1 Files Affected:
- (modified) lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/Makefile (+5-8)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/225930
More information about the lldb-commits
mailing list