Enables generation of debug information using the DWARF2 format.
IA-32, IntelĀ® 64, IA-64 architectures
Linux and Mac OS X: |
-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