Using the GNU Compiler Collection
12.0.1
Copyright
Introduction
Programming Languages Supported by GCC
Language Standards Supported by GCC
GCC Command Options
C Implementation-Defined Behavior
C++ Implementation-Defined Behavior
Extensions to the C Language Family
Extensions to the C++ Language
GNU Objective-C Features
Binary Compatibility
gcov—a Test Coverage Program
Introduction to gcov
Invoking gcov
Using gcov with GCC Optimization
Brief Description of gcov Data Files
Data File Relocation to Support Cross-Profiling
gcov-tool—an Offline Gcda Profile Processing Tool
gcov-dump—an Offline Gcda and Gcno Profile Dump Tool
lto-dump—Tool for dumping LTO object files.
Known Causes of Trouble with GCC
Reporting Bugs
How To Get Help with GCC
Contributing to GCC Development
Funding Free Software
The GNU Project and GNU/Linux
GNU GENERAL PUBLIC LICENSE
GNU Free Documentation License
Contributors to GCC
Option Index
Using the GNU Compiler Collection
»
gcov—a Test Coverage Program
View page source
Next
Previous
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
Synopsis
Options
Using gcov with GCC Optimization
Brief Description of gcov Data Files
Data File Relocation to Support Cross-Profiling