[llvm] [BOLT] Fix instrumentation test (PR #69383)

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 14:26:20 PDT 2023


https://github.com/yota9 updated https://github.com/llvm/llvm-project/pull/69383

>From 58069ff93510e4c57e68ef0a2c969f703c7e0b73 Mon Sep 17 00:00:00 2001
From: Vladislav Khmelevsky <och95 at yandex.ru>
Date: Wed, 18 Oct 2023 01:05:44 +0400
Subject: [PATCH] [BOLT] Fix instrumentation test

---
 bolt/test/X86/internal-call-instrument-so.s | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bolt/test/X86/internal-call-instrument-so.s b/bolt/test/X86/internal-call-instrument-so.s
index b8903fc7f8223c5..d13c828f605c3e3 100644
--- a/bolt/test/X86/internal-call-instrument-so.s
+++ b/bolt/test/X86/internal-call-instrument-so.s
@@ -1,6 +1,6 @@
 # This reproduces a bug with instrumentation crashes on internal call
 
-# REQUIRES: system-linux,bolt-runtime
+# REQUIRES: system-linux,bolt-runtime,target=x86_64{{.*}}
 
 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o
 # Delete our BB symbols so BOLT doesn't mark them as entry points
@@ -41,7 +41,6 @@ _start:
   retq
   .size _start, .-_start
 
-
   .globl  _fini
   .type _fini, %function
   .p2align  4



More information about the llvm-commits mailing list