@@ -10,21 +10,25 @@ RUN: -o %p/Output/libpython3.8-pyston2.3.so.1.0.perf
1010RUN: test -f %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt || \
1111RUN: unzstd %p/Inputs/libpython3.8-pyston2.3.so.1.0.prebolt.zst \
1212RUN: -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 \
1415RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.fdata -w %t.yaml
1516
1617# Tests for fdata vs yaml from the same perf data
1718RUN: llvm-bolt -p %p/Output/libpython3.8-pyston2.3.so.1.0.perf \
19+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1,_PyEval_EvalFrameDefault \
1820RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.null \
1921RUN: --print-only=_PyEval_EvalCodeWithName.localalias/1,dict_dealloc --print-cfg \
2022RUN: | FileCheck %s --check-prefix=CHECK-FUNC
2123
2224RUN: llvm-bolt -data %t.fdata \
25+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1,_PyEval_EvalFrameDefault \
2326RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.null \
2427RUN: --print-only=_PyEval_EvalCodeWithName.localalias/1,dict_dealloc --print-cfg \
2528RUN: | FileCheck %s --check-prefix=CHECK-FUNC
2629
2730RUN: llvm-bolt -data %t.yaml \
31+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1,_PyEval_EvalFrameDefault \
2832RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.null \
2933RUN: --print-only=_PyEval_EvalCodeWithName.localalias/1,dict_dealloc --print-cfg \
3034RUN: | FileCheck %s --check-prefix=CHECK-FUNC
@@ -39,6 +43,7 @@ CHECK-FUNC-NEXT: Exec Count : 10578
3943
4044# Test autofdo profile generation (-autofdo option)
4145RUN: perf2bolt -p %p/Output/libpython3.8-pyston2.3.so.1.0.perf \
46+ RUN: -skip-funcs=_PyEval_EvalFrame_AOT_Interpreter/1 \
4247RUN: %p/Output/libpython3.8-pyston2.3.so.1.0.prebolt -o %t.afdo -autofdo
4348RUN: FileCheck %s --check-prefix=CHECK-AFDO --input-file %t.afdo
4449# LBR traces/fallthroughs: count, first record
0 commit comments