[llvm] [BOLT][test] Fix 'veneer-lld-abs' tesdt execution on Windows host. (PR #155525)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 26 17:07:40 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-bolt
Author: Vladimir Vereschaka (vvereschaka)
<details>
<summary>Changes</summary>
The `\$d` escaping sequence is not working properly on the Windows host. Replacing it with `'$d'` fixes the problem and works fine on both Windows and Linux hosts.
---
Full diff: https://github.com/llvm/llvm-project/pull/155525.diff
1 Files Affected:
- (modified) bolt/test/AArch64/veneer-lld-abs.s (+1-1)
``````````diff
diff --git a/bolt/test/AArch64/veneer-lld-abs.s b/bolt/test/AArch64/veneer-lld-abs.s
index b22301db66c54..77d6f0ce2ddc8 100644
--- a/bolt/test/AArch64/veneer-lld-abs.s
+++ b/bolt/test/AArch64/veneer-lld-abs.s
@@ -12,7 +12,7 @@
## Occasionally, we see the linker not generating $d symbols for long veneers
## causing BOLT to fail veneer elimination.
-# RUN: llvm-objcopy --remove-symbol-prefix=\$d %t.exe %t.no-marker.exe
+# RUN: llvm-objcopy --remove-symbol-prefix='$d' %t.exe %t.no-marker.exe
# RUN: llvm-bolt %t.no-marker.exe -o %t.no-marker.bolt \
# RUN: 2>&1 | FileCheck %s --check-prefix=CHECK-BOLT
# RUN: llvm-objdump -d -j .text %t.no-marker.bolt | \
``````````
</details>
https://github.com/llvm/llvm-project/pull/155525
More information about the llvm-commits
mailing list