brintos

brintos / llvm-project-archived public Read only

0
0
Text · 670 B · c3a0e84 Raw
13 lines · plain
1RUN: llvm-cov export --format=lcov --instr-profile=%S/Inputs/multiple_objects_not_all_instrumented/instrumented.profdata \2RUN:   -object %S/Inputs/multiple_objects_not_all_instrumented/not_instrumented \3RUN:   -object %S/Inputs/multiple_objects_not_all_instrumented/instrumented | FileCheck -check-prefix=FN %s4 5FN:1,_Z2f1v6 7Instructions for regenerating the test:8 9clang -std=c++11 not_instrumented.cc -o not_instrumented10clang -std=c++11 -mllvm -enable-name-compression=false -fprofile-instr-generate -fcoverage-mapping instrumented.cc -o instrumented11LLVM_PROFILE_FILE="instrumented.raw" ./instrumented12llvm-profdata merge instrumented.raw -o instrumented.profdata13