Add independent controls for whether GCOV profiling should emit .gcno files or

instrument the program to emit .gcda.
TODO: we should emit slightly different .gcda files when .gcno emission is off.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky
2011-04-21 01:56:25 +00:00
parent 333ed454d0
commit a61e52c9b7
3 changed files with 18 additions and 6 deletions

View File

@ -28,7 +28,7 @@ ModulePass *createOptimalEdgeProfilerPass();
ModulePass *createPathProfilerPass();
// Insert GCOV profiling instrumentation
ModulePass *createGCOVProfilerPass();
ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true);
} // End llvm namespace