[PATCH] D104155: Add documentation for -fsanitize-address-use-after-return.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 15 17:32:45 PDT 2021


MaskRay added inline comments.


================
Comment at: clang/docs/ClangCommandLineReference.rst:3
   -------------------------------------------------------------------
   NOTE: This file is automatically generated by running clang-tblgen
   -gen-opt-docs. Do not edit this file by hand!!
----------------
vitalybuka wrote:
> MaskRay wrote:
> > This file is generated by `clang-tblgen -gen-opt-docs`.
> > 
> > You can edit `clang/docs/UsersManual.rst` and include the information that `=never` can reduce the object file size.
> to clarify you need
> configure -DLLVM_ENABLE_SPHINX=ON -DSPHINX_OUTPUT_HTML=ON -DSPHINX_OUTPUT_MAN=ON 
> 
> and then: ninja docs-clang-html
> 
> AddressSanitizer.html  will be somewhere in output, so you can check results
> 
> @MaskRay  @rsmith However I am not sure what to do with ClangCommandLineReference.rst.
> The one generated in build dir contains tens of missing flags. Still looks like the public doc https://clang.llvm.org/docs/ClangCommandLineReference.html is generated from the one committed here.
> Should we just pick lines related to the feature and ignore the rest or don't touch at all and let?
> 
The current state isn't ideal but that is what I have now (https://lists.llvm.org/pipermail/cfe-dev/2020-September/066900.html)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104155



More information about the cfe-commits mailing list