Changeset View
Changeset View
Standalone View
Standalone View
clang/docs/CommandGuide/clang.rst
Show First 20 Lines • Show All 427 Lines • ▼ Show 20 Lines | .. option:: -fstandalone-debug -fno-standalone-debug | ||||
module that contains the vtable for the class. | module that contains the vtable for the class. | ||||
The :option:`-fstandalone-debug` option turns off these optimizations. | The :option:`-fstandalone-debug` option turns off these optimizations. | ||||
This is useful when working with 3rd-party libraries that don't come with | This is useful when working with 3rd-party libraries that don't come with | ||||
debug information. This is the default on Darwin. Note that Clang will | debug information. This is the default on Darwin. Note that Clang will | ||||
never emit type information for types that are not referenced at all by the | never emit type information for types that are not referenced at all by the | ||||
program. | program. | ||||
.. option:: -feliminate-unused-debug-types | |||||
By default, Clang does not emit type information for types that are defined | |||||
probinson: The change to the command-line reference says "defined" not "declared", these should be… | |||||
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. | |||||
.. option:: -fexceptions | .. option:: -fexceptions | ||||
Enable generation of unwind information. This allows exceptions to be thrown | Enable generation of unwind information. This allows exceptions to be thrown | ||||
through Clang compiled stack frames. This is on by default in x86-64. | through Clang compiled stack frames. This is on by default in x86-64. | ||||
.. option:: -ftrapv | .. option:: -ftrapv | ||||
Generate code to catch integer overflow errors. Signed integer overflow is | Generate code to catch integer overflow errors. Signed integer overflow is | ||||
▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines |
The change to the command-line reference says "defined" not "declared", these should be consistent.