Files
llvm-project/bolt/test/merge-fdata-no-lbr-mode.test
YongKang Zhu 143664fcd3 [BOLT][merge-fdata] Skip truncated lines in raw profile data (#183187)
Raw profile data file may contain lines truncated due to unexpected
app exit. This change is to have merge_fdata check number of fields
in each line of raw profile data file and ignore a line if the number
is not expected.
2026-02-25 21:42:30 -08:00

19 lines
378 B
Plaintext

## Check that merge-fdata tool correctly processes fdata files with header
## string produced by no-lbr mode (no_lbr)
# REQUIRES: system-linux
# RUN: split-file %s %t
# RUN: merge-fdata %t/a.fdata %t/b.fdata -o %t/merged.fdata
# RUN: FileCheck %s --input-file %t/merged.fdata
# CHECK: no_lbr
# CHECK: 1 main 0 2
#--- a.fdata
no_lbr
1 main 0 1
#--- b.fdata
no_lbr
1 main 0 1