Files
llvm-project/bolt/test/merge-fdata-bat-no-lbr.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

21 lines
432 B
Plaintext

## Check that merge-fdata correctly handles merging two fdata files with both boltedcollection and no_lbr tags.
# 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: boltedcollection
# CHECK: no_lbr
# CHECK: 1 main 0 2
#--- a.fdata
boltedcollection
no_lbr
1 main 0 1
#--- b.fdata
boltedcollection
no_lbr
1 main 0 1