1 RUN: export LSAN_OPTIONS=detect_leaks=0
2 RUN: not llvm-profdata merge %p/Inputs/fe-basic.proftext %p/Inputs/ir-basic.proftext -o /dev/null 2>&1 | FileCheck %s
3 CHECK: ir-basic.proftext: Merge IR generated profile with Clang generated profile.
5 // We get a slightly different error message when using multiple threads because
6 // we do not know which files have incompatible kinds.
7 RUN: not llvm-profdata merge %p/Inputs/fe-basic.proftext %p/Inputs/ir-basic.proftext --num-threads=2 -o /dev/null 2>&1 | FileCheck %s --check-prefix=THREADS
8 THREADS: unsupported instrumentation profile format version