1 RUN: llvm-cov export --format=lcov --instr-profile=%S/Inputs/multiple_objects_not_all_instrumented/instrumented.profdata \
2 RUN: -object %S/Inputs/multiple_objects_not_all_instrumented/not_instrumented \
3 RUN: -object %S/Inputs/multiple_objects_not_all_instrumented/instrumented | FileCheck -check-prefix=FN %s
7 Instructions for regenerating the test:
9 clang -std=c++11 not_instrumented.cc -o not_instrumented
10 clang -std=c++11 -mllvm -enable-name-compression=false -fprofile-instr-generate -fcoverage-mapping instrumented.cc -o instrumented
11 LLVM_PROFILE_FILE="instrumented.raw" ./instrumented
12 llvm-profdata merge instrumented.raw -o instrumented.profdata