HP aC++/HP ANSI C A.06.27 Release Notes
all Emits debug information for all macros. This option can cause a significant increase in
object file size.
none Does not emit any macro debug information.
One of the -g options (-g, -g0, or -g1) must be used to enable the +macro_debugoption.
+nomacro_debug suppresses emission of macro debug information into the object file.
+pathtrace (New)
+pathtrace[=kind]
The +pathtraceoption provides a mechanism to record program execution control flow into
global and/or local path tables. The saved information can be used by the HP WDB debugger to
assist with crash path recovery from the core files, or to assist when debugging the program by
showing the executed branches.
Usage:
The defined values for kind are:
local Generates a local path table and records basic block-execution
information in it at runtime.
global Generates a global path table and records basic block-execution
information in it at runtime.
global_fixed_size Generates a fixed-size (65536 items) global path table and records
basic block-execution information in it at runtime.
This form differs from+pathtrace=global because the size of the
table cannot be configured at runtime, and the contents cannot be
dumped to a file. The fixed-size global path table has better runtime
performance than the configurable global path table. The performance
difference varies depending on the optimization level and how the
program is written.
none Disables generation of both the global and local path tables.
The values can be combined by joining them with a colon. For example:
+pathtrace=global:local
The global_fixed_size and global values are mutually exclusive. If more than one of them
are specified on the command line, the last one takes precedence. The same is true for the none
value.
+pathtracewith no values is equivalent to +pathtrace=global_fixed_size:local.
The use of this option and the -mt option must be consistent for all compilation and link steps.
That means if -mt is used with +pathtrace at compile time, it should also be used at link time;
if -mt is not used with +pathtrace at compile time, it should not used at link time. Otherwise,
a link-time error can occur.
+check suboptions (New)
The following new suboptions have been added to the +check option:
+check=globals
+check=truncate[:explicit|:implicit]
The following new suboptions have been added to the +check=bounds option:
+check=bounds:array
+check=bounds:pointer
+check=bounds:all
+check=bounds:none
34 Product changes in earlier versions