blob: c3a0e846bc672a9c759d165d6aea1a6ff15e2e12 [file] [log] [blame]
RUN: llvm-cov export --format=lcov --instr-profile=%S/Inputs/multiple_objects_not_all_instrumented/instrumented.profdata \
RUN: -object %S/Inputs/multiple_objects_not_all_instrumented/not_instrumented \
RUN: -object %S/Inputs/multiple_objects_not_all_instrumented/instrumented | FileCheck -check-prefix=FN %s
FN:1,_Z2f1v
Instructions for regenerating the test:
clang -std=c++11 not_instrumented.cc -o not_instrumented
clang -std=c++11 -mllvm -enable-name-compression=false -fprofile-instr-generate -fcoverage-mapping instrumented.cc -o instrumented
LLVM_PROFILE_FILE="instrumented.raw" ./instrumented
llvm-profdata merge instrumented.raw -o instrumented.profdata