Changeset View
Changeset View
Standalone View
Standalone View
clang/docs/UsersManual.rst
Show First 20 Lines • Show All 2,346 Lines • ▼ Show 20 Lines | .. option:: -fno-standalone-debug | ||||
On Darwin **-fstandalone-debug** is enabled by default. The | On Darwin **-fstandalone-debug** is enabled by default. The | ||||
**-fno-standalone-debug** option can be used to get to turn on the | **-fno-standalone-debug** option can be used to get to turn on the | ||||
vtable-based optimization described above. | vtable-based optimization described above. | ||||
.. option:: -g | .. option:: -g | ||||
Generate complete debug info. | Generate complete debug info. | ||||
.. option:: -feliminate-unused-debug-types | |||||
By default, Clang does not emit type information for types that are defined | |||||
probinson: "declared" vs "defined" again. | |||||
but not used in a program. To retain the debug info for these unused types, | |||||
the negation **-fno-eliminate-unused-debug-types** can be used. | |||||
Controlling Macro Debug Info Generation | Controlling Macro Debug Info Generation | ||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
Debug info for C preprocessor macros increases the size of debug information in | Debug info for C preprocessor macros increases the size of debug information in | ||||
the binary. Macro debug info generated by Clang can be controlled by the flags | the binary. Macro debug info generated by Clang can be controlled by the flags | ||||
listed below. | listed below. | ||||
.. option:: -fdebug-macro | .. option:: -fdebug-macro | ||||
▲ Show 20 Lines • Show All 1,420 Lines • Show Last 20 Lines |
"declared" vs "defined" again.