gcov—a Test Coverage Program# gcov is a tool you can use in conjunction with GCC to test code coverage in your programs. Introduction to gcov Invoking gcov Options Using gcov with GCC Optimization Brief Description of gcov Data Files Data File Relocation to Support Cross-Profiling Profiling and Test Coverage in Freestanding Environments Overview Tutorial System Initialization Caveats