[llvm] [BOLT] Fix test. NFC (PR #124851)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 14:18:19 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-bolt
Author: Maksim Panchenko (maksfb)
<details>
<summary>Changes</summary>
Keep output files different for multiple tool invocations. Otherwise, it causes issues with our internal testing infra.
---
Full diff: https://github.com/llvm/llvm-project/pull/124851.diff
1 Files Affected:
- (modified) bolt/test/AArch64/pad-before-funcs.s (+1-1)
``````````diff
diff --git a/bolt/test/AArch64/pad-before-funcs.s b/bolt/test/AArch64/pad-before-funcs.s
index f3e8a23ddfdda6..c1b92063d6fa49 100644
--- a/bolt/test/AArch64/pad-before-funcs.s
+++ b/bolt/test/AArch64/pad-before-funcs.s
@@ -15,7 +15,7 @@
# RUN: llvm-bolt %t.exe -o %t.bolt.4.4 --pad-funcs-before=_start:4 --pad-funcs=_start:4
# RUN: llvm-bolt %t.exe -o %t.bolt.4.8 --pad-funcs-before=_start:4 --pad-funcs=_start:8
-# RUN: not llvm-bolt %t.exe -o %t.bolt.8 --pad-funcs-before=_start:1 2>&1 | FileCheck --check-prefix=CHECK-BAD-ALIGN %s
+# RUN: not llvm-bolt %t.exe -o %t.bolt.1 --pad-funcs-before=_start:1 2>&1 | FileCheck --check-prefix=CHECK-BAD-ALIGN %s
# CHECK-BAD-ALIGN: user-requested 1 padding bytes before function _start(*2) is not a multiple of the minimum function alignment (4).
``````````
</details>
https://github.com/llvm/llvm-project/pull/124851
More information about the llvm-commits
mailing list