[Lldb-commits] [lldb] [lldb] Fix TestBranchIslands.py for arm64e (PR #200498)
via lldb-commits
lldb-commits at lists.llvm.org
Fri May 29 14:01:12 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Alex Langford (bulbazord)
<details>
<summary>Changes</summary>
Need to pass CFLAGS to clang when building the asm files, otherwise the triple isn't used and they're automatically compiled for the host platform.
---
Full diff: https://github.com/llvm/llvm-project/pull/200498.diff
1 Files Affected:
- (modified) lldb/test/API/macosx/branch-islands/Makefile (+1-1)
``````````diff
diff --git a/lldb/test/API/macosx/branch-islands/Makefile b/lldb/test/API/macosx/branch-islands/Makefile
index 062e947f6d6ee..d7bfb33da0073 100644
--- a/lldb/test/API/macosx/branch-islands/Makefile
+++ b/lldb/test/API/macosx/branch-islands/Makefile
@@ -7,7 +7,7 @@ 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
%.o: $(SRCDIR)/%.s
- ${CC} -c $<
+ ${CC} ${CFLAGS} -c $<
#padding1.o: padding1.s
# ${CC} -c $(SRCDIR)/padding1.s
``````````
</details>
https://github.com/llvm/llvm-project/pull/200498
More information about the lldb-commits
mailing list