summaryrefslogtreecommitdiff
path: root/bolt/test
diff options
context:
space:
mode:
authorVladislav Khmelevsky <och95@yandex.ru>2023-03-13 13:36:26 +0400
committerVladislav Khmelevsky <och95@yandex.ru>2023-03-13 13:37:28 +0400
commit40b273998af142aefd7e72657b0a76194f8de2db (patch)
treef1394a59950583607cc9ad81c24c02d1ed23e34b /bolt/test
parent7117af529ebd389a0eee1ed2683ba2ec8fc21449 (diff)
downloadllvm-40b273998af142aefd7e72657b0a76194f8de2db.tar.gz
[BOLT] Pass instrumentation-file arg for X86 xmm test
Differential Revision: https://reviews.llvm.org/D144865
Diffstat (limited to 'bolt/test')
-rw-r--r--bolt/test/runtime/X86/instrumentation-xmm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bolt/test/runtime/X86/instrumentation-xmm.c b/bolt/test/runtime/X86/instrumentation-xmm.c
index 06002c08b173..1ddc104bc722 100644
--- a/bolt/test/runtime/X86/instrumentation-xmm.c
+++ b/bolt/test/runtime/X86/instrumentation-xmm.c
@@ -18,7 +18,8 @@ int main() {
REQUIRES: system-linux,bolt-runtime
RUN: %clang %cflags %s -o %t.exe -fno-inline -Wl,-q
-RUN: llvm-bolt %t.exe --instrument -o %t.instrumented
+RUN: llvm-bolt %t.exe --instrument -o %t.instrumented \
+RUN: --instrumentation-file=%t.fdata
RUN: %t.instrumented | FileCheck %s
CHECK: a = 42.000000