8.91 -g

Enables the generation of debug tables.

The compiler produces the same code regardless of whether -g is used. The only difference is the existence of debug tables.

Using -g does not affect optimization settings.


By default, using the -g option alone is equivalent to:

-g --dwarf3 --debug_macros
Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.