Enables generation of debug information using the DWARF2 format.
None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -gdwarf-2 |
Windows: | None |
None
OFF | No debug information is generated. However, if compiler option -g is specified, debug information is generated in the latest DWARF format, which is currently DWARF2. |
This option enables generation of debug information using the DWARF2 format. This is currently the default when compiler option -g is specified.
None
g compiler option