[PATCH] D82733: [clang][docs] Add note about using `-flto` with `-g` on macOS

Philippe Blain via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 29 11:54:15 PDT 2020


phil-blain added inline comments.


================
Comment at: clang/docs/CommandGuide/clang.rst:477
 
+  Note: on Darwin, when using :option:`-flto` along with :option:`-g` and
+  compiling and linking in separate steps, you also need to pass
----------------
JDevlieghere wrote:
> Any reason not to use the sphinx note directive (`.. note::` )?
> 
> https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#paragraph-level-markup
None, appart from my limited knowledge of Sphinx directives ;) 

I'll fix that for v2.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82733/new/

https://reviews.llvm.org/D82733





More information about the cfe-commits mailing list