-qtbtable
Category
Pragma equivalent
#pragma options tbtable
Purpose
Controls the amount of debugging traceback information that is included in the object files.
Many performance measurement tools require a full traceback table to properly analyze optimized code. If a traceback table is generated, it is placed in the text segment at the end of the object code, and contains information about each function, including the type of function, as well as stack frame and register information.
Defaults
- -qtbtable=full
- -qtbtable=small when -O or higher optimization is in effect
Parameters
- full
- A full traceback table is generated, complete with name and parameter information.
- none
- No traceback table is generated. The stack frame cannot be unwound so exception handling is disabled.
- small
- The traceback table generated has no name or parameter information, but otherwise has full traceback capability. This suboption reduces the size of the program code.
Usage
The #pragma options directive must be specified before the first statement in the compilation unit.
Predefined macros
None.