Files
clang-p2996/bolt/test/X86/issue26.test
Amir Ayupov 2dea832ef0 [BOLT][test] Add missing stderr redirections
BOLT-ERROR and BOLT-WARNING messages are output to stderr which is not captured
by piping to FileCheck. Redirect stderr to stdout to fix that in tests.

Reviewed By: #bolt, maksfb

Differential Revision: https://reviews.llvm.org/D156340
2023-07-31 16:17:09 -07:00

13 lines
361 B
Plaintext

# This reproduces issue 26 from our github repo
# RUN: yaml2obj %p/Inputs/issue26.yaml &> %t.exe
# RUN: llvm-bolt %t.exe --relocs --print-cfg -o %t.out 2>&1 \
# RUN: | FileCheck %s
CHECK-NOT: BOLT-WARNING: CFG invalid in XYZ @ .LBB0
CHECK: Binary Function "XYZ"
CHECK: .Ltmp0 (1 instructions, align : 1)
CHECK-NEXT: Secondary Entry Point: FUNCat0x4004e9