Fixed #47
The manual was missing the `-fcoverage-mapping` option, of course we
didn't have coverage data...
Also changed `llvm-cov` to `llvm-cov-3.8` on tests/coverage.sh: some
systems don't have the versionless alias.
You can also check code coverage:
$ make clean
- $ make test CC="clang -std=c99" CFLAGS="-fprofile-instr-generate"
+ $ make test CC="clang -std=c99" CFLAGS="-fprofile-instr-generate -fcoverage-mapping"
$ tests/coverage.sh
#! /bin/sh
llvm-profdata-3.8 merge default.profraw -o all.profdata
-llvm-cov show "./test.out" -instr-profile=all.profdata
+llvm-cov-3.8 show -instr-profile=all.profdata "./test.out"