[llvm] [BOLT][test] Fix 'dump-dot-func' test execution on Windows host. (PR #155522)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 26 16:58:29 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-bolt

Author: Vladimir Vereschaka (vvereschaka)

<details>
<summary>Changes</summary>

Replaced non-existent %clang++ substitute with %clangxx. %clang++ gets became `clang.exe++` on the Windows host that failures the test execution.



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


1 Files Affected:

- (modified) bolt/test/dump-dot-func.test (+1-1) 


``````````diff
diff --git a/bolt/test/dump-dot-func.test b/bolt/test/dump-dot-func.test
index 510713dde6167..f05bfc195db45 100644
--- a/bolt/test/dump-dot-func.test
+++ b/bolt/test/dump-dot-func.test
@@ -1,7 +1,7 @@
 # Test the --dump-dot-func option with multiple functions 
 # (includes tests for both mangled/unmangled names)
 
-RUN: %clang++ %p/Inputs/multi-func.cpp -o %t.exe -Wl,-q
+RUN: %clangxx %p/Inputs/multi-func.cpp -o %t.exe -Wl,-q
 
 # Test 1: --dump-dot-func with specific function name (mangled)
 RUN: llvm-bolt %t.exe -o %t.bolt1 --dump-dot-func=_Z3addii -v=1 2>&1 | FileCheck %s --check-prefix=ADD

``````````

</details>


https://github.com/llvm/llvm-project/pull/155522


More information about the llvm-commits mailing list