Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. function testpl {
  2.   rm report.html ring.hpp.gch -f
  3.   clang++ -std=c++1z -fprofile-instr-generate -fcoverage-mapping *.cpp -o test
  4.   ./test
  5.   llvm-profdata merge -o test.profdata default.profraw
  6.   llvm-cov report test -instr-profile=test.profdata
  7.   llvm-cov show test -instr-profile=test.profdata -format=html > report.html
  8.   opera report.html
  9.   rm test* *.profraw -f
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement