@@ -10,21 +10,25 @@ RUN: -o %p/Output/libpython3.8-pyston2.3.so.1.0.perf
10
10
RUN: test -f %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt || \
11
11
RUN: unzstd %p/Inputs/libpython3.8-pyston2.3.so.1.0.prebolt.zst \
12
12
RUN: -o %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt
13
- RUN: perf2bolt -p %p/Output/libpython3.8-pyston2.3.so.1.0.perf \
13
+ RUN: perf2bolt -p %p/Output/libpython3.8-pyston2.3.so.1.0.perf -strict=0 \
14
+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1 \
14
15
RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.fdata -w %t.yaml
15
16
16
17
# Tests for fdata vs yaml from the same perf data
17
18
RUN: llvm-bolt -p %p/Output/libpython3.8-pyston2.3.so.1.0.perf \
19
+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1,_PyEval_EvalFrameDefault \
18
20
RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.null \
19
21
RUN: --print-only=_PyEval_EvalCodeWithName.localalias/1,dict_dealloc --print-cfg \
20
22
RUN: | FileCheck %s --check-prefix=CHECK-FUNC
21
23
22
24
RUN: llvm-bolt -data %t.fdata \
25
+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1,_PyEval_EvalFrameDefault \
23
26
RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.null \
24
27
RUN: --print-only=_PyEval_EvalCodeWithName.localalias/1,dict_dealloc --print-cfg \
25
28
RUN: | FileCheck %s --check-prefix=CHECK-FUNC
26
29
27
30
RUN: llvm-bolt -data %t.yaml \
31
+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1,_PyEval_EvalFrameDefault \
28
32
RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.null \
29
33
RUN: --print-only=_PyEval_EvalCodeWithName.localalias/1,dict_dealloc --print-cfg \
30
34
RUN: | FileCheck %s --check-prefix=CHECK-FUNC
@@ -39,6 +43,7 @@ CHECK-FUNC-NEXT: Exec Count : 10578
39
43
40
44
# Test autofdo profile generation (-autofdo option)
41
45
RUN: perf2bolt -p %p/Output/libpython3.8-pyston2.3.so.1.0.perf \
46
+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1 \
42
47
RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.afdo -autofdo
43
48
RUN: FileCheck %s --check-prefix=CHECK-AFDO --input-file %t.afdo
44
49
# LBR traces/fallthroughs: count, first record
0 commit comments