this is a code coverage tool implementation based on llvm(low level virtual machine).Now,it supports code coverage and function coverage.
* install llvm compiler in your computer;
* write your project's makefile using llvm compiler,to compile the whole project to an elf file,and get the .bc file,then using llvm-dis to get the whole program llvm-ir source;
* using the script provided "analyze.sh", the whole program llvm-ir source as the input
* re-link the whole program llvm-ir source.
* this current scripts are based on llvm2.5,to download llvm2.5 from link http://llvm.org/releases/