From ed664d088254edc001d875b3418876e9fa0583c2 Mon Sep 17 00:00:00 2001 From: Maksim Panchenko 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 f3e8a23ddfdda..c1b92063d6fa4 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).