[PATCH] D144865: [BOLT] Pass instrumentation-file arg for X86 xmm test

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 05:13:49 PST 2023


yota9 created this revision.
yota9 added reviewers: maksfb, rafauler, Amir.
Herald added subscribers: treapster, ayermolo.
Herald added a project: All.
yota9 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Don't use tmp folder for tests


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144865

Files:
  bolt/test/runtime/X86/instrumentation-xmm.c


Index: bolt/test/runtime/X86/instrumentation-xmm.c
===================================================================
--- bolt/test/runtime/X86/instrumentation-xmm.c
+++ bolt/test/runtime/X86/instrumentation-xmm.c
@@ -18,7 +18,8 @@
 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144865.500741.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230227/f8572255/attachment.bin>


More information about the llvm-commits mailing list