[llvm] [BOLT] Fix test. NFC (PR #124851)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 14:17:59 PST 2025
https://github.com/maksfb created https://github.com/llvm/llvm-project/pull/124851
Keep output files different for multiple tool invocations. Otherwise, it causes issues with our internal testing infra.
>From ed664d088254edc001d875b3418876e9fa0583c2 Mon Sep 17 00:00:00 2001
From: Maksim Panchenko <maks at fb.com>
Date: Fri, 17 Jan 2025 14:34:56 -0800
Subject: [PATCH] [BOLT] Fix test. NFC
Keep output files different for multiple tool invocations. Otherwise, it
causes issues with our internal testing infra.
---
bolt/test/AArch64/pad-before-funcs.s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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).
More information about the llvm-commits
mailing list