Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

femit-class-debug-always

Controls the format and size of debug information generated by the compiler for C++ classes.

Syntax

Linux:

-femit-class-debug-always

-fno-emit-class-debug-always

macOS:

None

Windows:

None

Arguments

None

Default

-fno-emit-class-debug-always

Causes the compiler to reduce the amount of debug information generated for C++ classes.

Description

When emission of debug information is enabled, this option will control the format and size of debug information generated by the compiler for C++ classes. It tells the compiler to generate full debug information, or it tells the compiler to reduce the amount of debug information it generates.

When you specify the -femit-class-debug-always option, the compiler emits debug information for a C++ class into each object file where the class is used. This option is useful for tools that are not able to resolve incomplete type descriptions. Note that this option may cause a large increase in the size of the debug information generated.

When you specify the -fno-emit-class-debug-always option, the compiler does not emit full debug information for every instance of C++ class use. In general, this reduces the size of the debugging information generated for C++ applications without impacting debugging ability when used with debuggers that have corresponding support, such as gdb.

IDE Equivalent

None

Alternate Options

None