-fstandalone-debug
Category
Pragma equivalent
None.
Purpose
When used with the -g option, controls whether to generate the debugging information for all symbols.
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.