Option Type | Default Value | #pragma options | C | C++ |
-qoption | (see below) | TBTABLE | x | x |
Syntax
-qtbtable=suboption TBTABLE=suboption
Purpose
Generates a traceback table that contains information about each function, including
the type of function as well as stack frame and register information. The traceback table
is placed in the text segment at the end of its code.
Notes
Values for suboption are:
none | No traceback table is generated. The stack frame cannot be unwound so exception handling is disabled. |
full | A full traceback table is generated, complete with name and parameter information. This is the default if -qnoopt or -g are specified. |
small | The traceback table generated has no name or parameter information, but otherwise has full traceback capability. This is the default if you have specified optimization and have not specified -g. |
The #pragma options directive must be specified before the first statement in the compilation unit.
Default
Many performance measurement tools require a full traceback table to properly analyze
optimized code. The /etc/vac.cfg batch compiler
configuration file contains entries to accomodate this requirement. If you do not require
full traceback tables for your optimized code, you can save file space by making the
following changes to your /etc/vac.cfg batch compiler configuration file:
With these changes, the defaults for the tbtable option are:
See Interlanguage Calls - Traceback Table for a brief description of traceback tables. The AIX Version 4 traceback mechanism is described in the "Subroutine Linkage Convention" section of the AIX Version 4 Assembler Language Reference.
List of Batch Compiler Options and Their Defaults
Options that Specify Debugging Features
Equivalent Batch Compile-Link and Incremental
Build Options