From 3133030446cb6c33a7a5a4a8a946149271e0b2a5 Mon Sep 17 00:00:00 2001 From: Andrew Ng Date: Fri, 20 Jan 2023 15:04:38 +0000 Subject: [PATCH] [memprof] Change test output redirection to enable it to run on Windows Differential Revision: https://reviews.llvm.org/D142225 --- llvm/test/tools/llvm-profdata/memprof-pic.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/tools/llvm-profdata/memprof-pic.test b/llvm/test/tools/llvm-profdata/memprof-pic.test index 1df2637..f993c44 100644 --- a/llvm/test/tools/llvm-profdata/memprof-pic.test +++ b/llvm/test/tools/llvm-profdata/memprof-pic.test @@ -36,5 +36,5 @@ clang -fuse-ld=lld -Wl,--no-rosegment -gmlt -fdebug-info-for-profiling \ env MEMPROF_OPTIONS=log_path=stdout ./pic.memprofexe > pic.memprofraw ``` -RUN: not llvm-profdata show --memory %p/Inputs/pic.memprofraw --profiled-binary %p/Inputs/pic.memprofexe -o - |& FileCheck %s +RUN: not llvm-profdata show --memory %p/Inputs/pic.memprofraw --profiled-binary %p/Inputs/pic.memprofexe -o - 2>&1 | FileCheck %s CHECK: Unsupported position independent code -- 2.7.4