-fstandalone-debug

Pragma equivalent

None.

Purpose

When used with the -g option, controls whether to generate the debugging information for all symbols.

Syntax

Read syntax diagramSkip visual syntax diagram
   .- -fno-standalone-debug-.   
>>-+- -fstandalone-debug----+----------------------------------><

Defaults

-fno-standalone-debug

Usage

This option takes effect only when it is specified with the -g option; otherwise, it is ignored.

When -fstandalone-debug is in effect, the compiler generates the debugging information for all symbols whether or not these symbols are referenced by the program. Generating the debugging information for all symbols might increase the size of the object file.

To reduce the size of the object file, you can specify the -fno-standalone-debug option to generate debugging information only for symbols that are referenced by the program.

Predefined macros

None.

Related information



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us