Skip to content

Commit a3eb311

Browse files
authored
[BOLT][test] Fix 'veneer-lld-abs' test execution on Windows host (#155525)
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.
1 parent 27e880f commit a3eb311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/test/AArch64/veneer-lld-abs.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Occasionally, we see the linker not generating $d symbols for long veneers
1414
## causing BOLT to fail veneer elimination.
15-
# RUN: llvm-objcopy --remove-symbol-prefix=\$d %t.exe %t.no-marker.exe
15+
# RUN: llvm-objcopy --remove-symbol-prefix='$d' %t.exe %t.no-marker.exe
1616
# RUN: llvm-bolt %t.no-marker.exe -o %t.no-marker.bolt \
1717
# RUN: 2>&1 | FileCheck %s --check-prefix=CHECK-BOLT
1818
# RUN: llvm-objdump -d -j .text %t.no-marker.bolt | \

0 commit comments

Comments
 (0)