Add a new optimization option -Og · apple/swift-clang@14bfc9e (original) (raw)
`@@ -226,7 +226,7 @@ number of cross compilers, or may only support a native target.
`
226
226
`Code Generation Options
`
227
227
`~~~~~~~~~~~~~~~~~~~~~~~
`
228
228
``
229
``
`-
.. option:: -O0, -O1, -O2, -O3, -Ofast, -Os, -Oz, -O, -O4
`
``
229
`+
.. option:: -O0, -O1, -O2, -O3, -Ofast, -Os, -Oz, -Og, -O, -O4
`
230
230
``
231
231
` Specify which optimization level to use:
`
232
232
``
`@@ -252,6 +252,9 @@ Code Generation Options
`
252
252
`` :option:-Oz
Like :option:-Os
(and thus :option:-O2
), but reduces code
``
253
253
` size further.
`
254
254
``
``
255
`` +
:option:-Og
Like :option:-O1
. In future versions, this option might
``
``
256
`+
disable different optimizations in order to improve debuggability.
`
``
257
+
255
258
`` :option:-O
Equivalent to :option:-O2
.
``
256
259
``
257
260
`` :option:-O4
and higher
``