llvm-project/bolt/test/X86/merge-fdata-nobat-mode.test
Amir Ayupov 6735ce9d25 [BOLT] Fix unconditional output of boltedcollection in merge-fdata (#78653)
Fix the bug where merge-fdata unconditionally outputs boltedcollection
line, regardless of whether input files have it set.

Test Plan:
Added bolt/test/X86/merge-fdata-nobat-mode.test which fails without this
fix.
2024-01-18 20:00:47 -08:00

7 lines
222 B
Plaintext

# Check that merge-fdata tool doesn't spuriously print boltedcollection
RUN: merge-fdata %S/Inputs/blarge.fdata %S/Inputs/blarge.fdata \
RUN: | FileCheck %s --check-prefix=CHECK-FDATA
CHECK-FDATA-NOT: boltedcollection