Developer Guide and Reference

Contents

feliminate-unused-debug-types, Qeliminate-unused-debug-types

Controls the debug information emitted for types declared in a compilation unit.

Syntax

Linux and macOS:
-feliminate-unused-debug-types
-fno-eliminate-unused-debug-types
Windows:
/Qeliminate-unused-debug-types
/Qeliminate-unused-debug-types-
Arguments
None
Default
-feliminate-unused-debug-types
or
/Qeliminate-unused-debug-types
The compiler emits debug information only for types that are actually used by a variable/parameter/etc..
Description
This option controls the debug information emitted for types declared in a compilation unit.
If you specify
-fno-eliminate-unused-debug-types
(Linux and
macOS*
) or
/Qeliminate-unused-debug-types-
, it will cause the compiler to emit debug information for all types present in the sources. This option may cause a large increase in the size of the debug information.
Alternate Options
None