Symbolic Debugging and Profiling Options

The following options are used to select symbolic debugging or profiling:

--profile:breakpt Disables optimizations that would cause incorrect behavior when using a breakpoint-based profiler.
--symdebug:dwarf (Default) Generates directives that are used by the C/C++ source-level debugger and enables assembly source debugging in the assembler. The --symdebug:dwarf option's short form is -g. See Section 4.17.

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

--symdebug:dwarf_
    version={2|3}
Specifies the DWARF debugging format version (2 or 3) to be generated when --symdebug:dwarf (the default) is specified. By default, the compiler generates DWARF version 3 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.