[Lldb-commits] [lldb] b80c3c5 - Branch no lld (#139187)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 8 18:00:55 PDT 2025


Author: jimingham
Date: 2025-05-08T18:00:52-07:00
New Revision: b80c3c576f169326f55956985706816cf7b170eb

URL: https://github.com/llvm/llvm-project/commit/b80c3c576f169326f55956985706816cf7b170eb
DIFF: https://github.com/llvm/llvm-project/commit/b80c3c576f169326f55956985706816cf7b170eb.diff

LOG: Branch no lld (#139187)

I suspect the test may be failing because lld doesn't behave the same
way the native Darwin linker does. Trying that theory here...

Added: 
    

Modified: 
    lldb/test/API/macosx/branch-islands/Makefile

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/branch-islands/Makefile b/lldb/test/API/macosx/branch-islands/Makefile
index 062e947f6d6ee..ff341522e15de 100644
--- a/lldb/test/API/macosx/branch-islands/Makefile
+++ b/lldb/test/API/macosx/branch-islands/Makefile
@@ -4,7 +4,7 @@ CFLAGS_EXTRAS := -std=c99
 include Makefile.rules
 
 a.out: main.o padding1.o padding2.o padding3.o padding4.o foo.o
-	${CC} ${LDFLAGS} foo.o padding1.o padding2.o padding3.o padding4.o main.o -o a.out
+	${CC} ${LDFLAGS} -fuse-ld=/usr/bin/ld foo.o padding1.o padding2.o padding3.o padding4.o main.o -o a.out
 
 %.o: $(SRCDIR)/%.s
 	${CC} -c $<


        


More information about the lldb-commits mailing list