4.11 Benefits of reducing debug information in objects and libraries

Reducing the amount of debug information in objects and libraries has a number of code size and performance benefits.

Reducing the level of debug information:
  • Reduces the size of objects and libraries, thereby reducing the amount of disk space required to store them.
  • Speeds up link time. In the compilation cycle, most of the link time is consumed by reading in all the debug sections and eliminating the duplicates.
  • Minimizes the size of the final image. This facilitates the fast loading and processing of debug symbols by a debugger.
Related concepts
4.3 Compiler optimization levels and the debug view
Related reference
4.12 Methods of reducing debug information in objects and libraries
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.