Lard Toolkit User Guide

lcov - Lard Coverage Analysis

Name

lcov - Report unreached code.

Synopsis

lcov [filename]*

Description

lprof reads and decodes a profiling information file profile.out written by li. To generate the profile.out file you must:

Running lcov with no command line arguments list unreached code in all of the program. If any command line arguments are provided they are interpretted as filenames (excluding any extensions) and information is displayed only for functions in those files. If you run lcov with no arguments it will report unreached functions in the standard library which you probably don't want.

The information is displayed in the following sections:

In each case, the filename, line number and identifier is given. For identifiers declared at the top level in any file it is not possible to report the filename and line number; instead these identifiers are listed as "global".

Enabling optimisation will cause some library routines to be bypassed, so they appear to be unreached. Either ignore these entries or disable optimasation.