gcno
gcno files are part of GCC’s coverage instrumentation workflow used by gcov. They store the static structure of the program for a source file, including the control-flow graph (CFG) with basic blocks and edges and their mapping to source lines. Each source file compiled with coverage options typically yields one corresponding .gcno file. The format is binary and intended for tool consumption rather than manual viewing.
gcno and gcda together enable coverage analysis. The .gcno file is created at compile time, while a
Typical workflow: compile with -fprofile-arcs -ftest-coverage (or -coverage) for the source file, run the program to
Notes: .gcno files are architecture- and compiler-version dependent and are not meant to be edited. They reside
---