3.7 Encoding Instrumentation Options

Records the enablement of various code instrumentation options. Note - this note is only produced if one or more of these options are enabled.

The note encodes four values, separate by the forward slash (/) character. These values are:

sanitization

Enabled via a plethora of -fsanitize=… options these tell gcc to add extra code to help with various different types of error checking features.

function instrumentation

Enabled via gcc’s -finstrument-functions option, this adds special function calls at the entry and exit point of every normal function.

profiling

Enabled via gcc’s -p or -pg options, this adds instrumentation to the compiled code that generates output suitable for analysis via the prof or gprof programs.

arc profiling

Enabled via gcc’s -fprofile-arc option, or one of the meta- profiling options, this option adds code to record how many times every branch and function call is executed.