Skip to content

[Hexagon] Relax toolchain check to accept ld in driver test#192596

Merged
androm3da merged 1 commit into
llvm:mainfrom
quic-k:hexagon-fix
Apr 17, 2026
Merged

[Hexagon] Relax toolchain check to accept ld in driver test#192596
androm3da merged 1 commit into
llvm:mainfrom
quic-k:hexagon-fix

Conversation

@quic-k
Copy link
Copy Markdown
Contributor

@quic-k quic-k commented Apr 17, 2026

@llvmbot llvmbot added clang Clang issues not falling into any other category clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' labels Apr 17, 2026
@llvmbot
Copy link
Copy Markdown
Member

llvmbot commented Apr 17, 2026

@llvm/pr-subscribers-clang

@llvm/pr-subscribers-clang-driver

Author: quic-k

Changes

Fixes failures in
https://lab.llvm.org/buildbot/#/builders/145/builds/13829
https://lab.llvm.org/buildbot/#/builders/124/builds/2152


Full diff: https://github.com/llvm/llvm-project/pull/192596.diff

1 Files Affected:

  • (modified) clang/test/Driver/hexagon-toolchain-picolibc.c (+1-1)
diff --git a/clang/test/Driver/hexagon-toolchain-picolibc.c b/clang/test/Driver/hexagon-toolchain-picolibc.c
index eec0ec4f23b45..8571e55620b9c 100644
--- a/clang/test/Driver/hexagon-toolchain-picolibc.c
+++ b/clang/test/Driver/hexagon-toolchain-picolibc.c
@@ -67,7 +67,7 @@
 // RUN:   -ccc-install-dir %S/Inputs/hexagon_tree/Tools/bin -mcpu=hexagonv60 \
 // RUN:   -nolibc %s 2>&1 | FileCheck -check-prefix=CHECK-NOLIBC %s
 // CHECK-NOLIBC: "-cc1"
-// CHECK-NOLIBC: hexagon-link
+// CHECK-NOLIBC: {{hexagon-link|ld}}
 // CHECK-NOLIBC-SAME: "{{.*}}crt0-semihost.o"
 // CHECK-NOLIBC-SAME: "-lc++"
 // CHECK-NOLIBC-SAME: "-lm"

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 17, 2026

🐧 Linux x64 Test Results

  • 115483 tests passed
  • 4607 tests skipped

✅ The build succeeded and all tests passed.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 17, 2026

🪟 Windows x64 Test Results

  • 55292 tests passed
  • 2455 tests skipped

✅ The build succeeded and all tests passed.

Update hexagon-toolchain-picolibc.c test to match either `hexagon-link` or
`ld` when verifying driver output. This accounts for environments
where the linker is invoked directly instead of via hexagon-link.

Signed-off-by: Kushal Pal <kushpal@qti.qualcomm.com>
@androm3da androm3da merged commit 8656768 into llvm:main Apr 17, 2026
10 checks passed
alexfh pushed a commit to alexfh/llvm-project that referenced this pull request Apr 18, 2026
KHicketts pushed a commit to KHicketts/llvm-project that referenced this pull request Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants