[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / llvm / test / tools / llvm-cov / multiple-objects-not-all-instrumented.test
blobc3a0e846bc672a9c759d165d6aea1a6ff15e2e12
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
5 FN:1,_Z2f1v
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