blob: 35ddadac81f64827d4fa7687222cae13d64a72a5 [file] [edit]
## Check that merge-fdata doesn't incorrectly merge two fdata files with boltedcollection and no_lbr tags.
# REQUIRES: system-linux
# RUN: split-file %s %t
# RUN: not merge-fdata %t/a.fdata %t/b.fdata 2>&1 | FileCheck %s
# CHECK: cannot mix profile with and without boltedcollection
#--- a.fdata
boltedcollection
no_lbr
1 main 0 1
#--- b.fdata
no_lbr
1 main 0 1