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.