[BOLT][test] Fix tests for aarch64 buildbot (#97620)

Fix broken tests in
[bolt-aarch64-ubuntu-clang-shared](https://lab.llvm.org/buildbot/#/builders/126/builds/138)
This commit is contained in:
Amir Ayupov
2024-07-09 20:02:01 -07:00
committed by GitHub
parent 91d40ef6e3
commit c641fc3a4c
2 changed files with 3 additions and 3 deletions

View File

@@ -8,4 +8,4 @@
# PREAGG: B X:0 #main# 1 0
# CHECK: BOLT-INFO: inferred profile for 1 (100.00% of profiled, 100.00% of stale) functions responsible for -nan% samples (0 out of 0)
# CHECK: BOLT-INFO: inferred profile for 1 (100.00% of profiled, 100.00% of stale) functions

View File

@@ -10,7 +10,7 @@
# REQUIRES: system-linux
# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o
# RUN: %clang -no-pie %t.o -o %t.exe -Wl,-q
# RUN: %clang %cflags -no-pie %t.o -o %t.exe -Wl,-q
# RUN: llvm-bolt --funcs=main,foo/1 %t.exe -o %t.exe.bolt --print-normalized \
# RUN: 2>&1 | FileCheck %s
@@ -18,7 +18,7 @@
.globl main
.type main,@function
main:
# CHECK: Binary Function "main"
# CHECK: Binary Function "main
pushq %rbp
movq %rsp, %rbp
movq $-16, %rax