You copied the Doc URL to your clipboard.

Development options

Options that support code development.

Compiler development options

Option

Description

-fcolor-diagnostics

-fno-color-diagnostics

Use colors in diagnostics.

Usage

armclang -fcolor-diagnostics

Or

armclang -fno-color-diagnostics

-g

-g0 (default)

-gline-tables-only

-g, -g0, and -gline-tables-only control the generation of source-level debug information:

  • -g enables debug generation.

  • -g0 disables generation of debug and is the default setting.

  • -gline-tables-only enables DWARF line information for location tracking only (not for variable tracking).

Note

If more than one of these options are specified on the command line, the option specified last overrides any before it.

Usage

armclang -g

Or

armclang -g0

Or

armclang -gline-tables-only

Was this page helpful? Yes No