File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown \
8
8
# RUN: %s -o %t.o
9
9
# RUN: %clang %cflags %t.o -o %t.exe -Wl,-q
10
- # RUN: llvm-bolt %t.exe --relocs --print-cfg -o %t.out \
10
+ # RUN: llvm-bolt %t.exe --relocs --print-cfg -o %t.out 2>&1 \
11
11
# RUN: | FileCheck %s
12
12
13
13
# CHECK-NOT: BOLT-WARNING: CFG invalid in XYZ @ .LBB0
Original file line number Diff line number Diff line change 1
1
# This reproduces issue 26 from our github repo
2
2
3
3
# RUN: yaml2obj %p/Inputs/issue26.yaml &> %t.exe
4
- # RUN: llvm-bolt %t.exe --relocs --print-cfg -o %t.out \
4
+ # RUN: llvm-bolt %t.exe --relocs --print-cfg -o %t.out 2>&1 \
5
5
# RUN: | FileCheck %s
6
6
7
7
CHECK-NOT: BOLT-WARNING: CFG invalid in XYZ @ .LBB0
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN: %t.exc arg1 arg2 arg3
9
9
10
10
RUN: llvm-bolt %t_exc_split -o %t.exc.bolted --data %t.fdata \
11
11
RUN: --reorder-blocks=ext-tsp --reorder-functions=hfsort+ \
12
- RUN: --split-functions --split-eh=1 \
12
+ RUN: --split-functions --split-eh=1 2>&1 \
13
13
RUN: | FileCheck --check-prefix=EXCEPTIONS %s
14
14
EXCEPTIONS-NOT: invalid (possibly stale) profile
15
15
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ CHECK-FDATA: 0 [unknown] 0 1 _start 0 0 1
22
22
# Check that BOLT works with this profile
23
23
RUN: llvm-bolt merge-fdata -o %t.bolt --data %t.fdata1 \
24
24
RUN: --reorder-blocks=ext-tsp --reorder-functions=hfsort+ \
25
- RUN: --split-functions \
25
+ RUN: --split-functions 2>&1 \
26
26
RUN: | FileCheck %s --check-prefix=CHECK-BOLT1
27
27
CHECK-BOLT1-NOT: invalid (possibly stale) profile
28
28
@@ -44,7 +44,7 @@ RUN: cmp %t.fdata.base %t.fdata.inst
44
44
# Optimize using merged fdata
45
45
RUN: llvm-bolt merge-fdata -o %t.opt --data %t.fdata.base \
46
46
RUN: --reorder-blocks=ext-tsp --reorder-functions=hfsort+ \
47
- RUN: --split-functions \
47
+ RUN: --split-functions 2>&1 \
48
48
RUN: | FileCheck %s --check-prefix=CHECK-BOLT2
49
49
CHECK-BOLT2-NOT: invalid (possibly stale) profile
50
50
You can’t perform that action at this time.
0 commit comments