[PATCH] D104155: Add documentation for -fsanitize-address-use-after-return.
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 15 14:48:35 PDT 2021
vitalybuka added a subscriber: rsmith.
vitalybuka 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!!
----------------
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?
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