Symbolic Debugging and Profiling Options

The following options are used to select symbolic debugging:

--symdebug:dwarf (Default) Generates directives that are used by the C/C++ source-level debugger. The --symdebug:dwarf option's short form is -g. See Section 4.12.

For more information on the DWARF debug format, see The DWARF Debugging Standard.

--symdebug:dwarf_
    version={3|4}
Specifies the DWARF debugging format version (3 or 4) to be generated when --symdebug:dwarf (the default) is specified. By default, the compiler generates DWARF version 4 debug information. For more information on TI extensions to the DWARF language, see The Impact of DWARF on TI Object Files (SPRAAB5).
--symdebug:none Disables all symbolic debugging output. This option is not recommended; it prevents debugging and most performance analysis capabilities.