Intel® oneAPI DPC++/C++ Compiler
Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
gdwarf
Lets you specify a DWARF Version format when generating debug information.
Syntax
| Linux: | -gdwarf-n | 
| Windows: | None | 
Arguments
| n | Is a value denoting the DWARF Version format to use. Possible values are: 
 | 
Default
| OFF | No debug information is generated. However, if compiler option -g is specified, debugging information is generated in the DWARF Version 4 format. | 
Description
This option lets you specify a DWARF Version format when generating debug information.
Note that older versions of some analysis tools may require applications to be built with the -gdwarf-2 option to ensure correct operation.
IDE Equivalent
Alternate Options
None