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

Kevin Athey via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 15 16:25:22 PDT 2021


kda added a comment.

F17415480: _usr_local_google_home_kda_src_uar_llvm-project_build_tools_clang_docs_html_AddressSanitizer.html.png <https://reviews.llvm.org/F17415480>



================
Comment at: clang/docs/AddressSanitizer.rst:18
+* Use-after-return (clang flag `-fsanitize-address-use-after-return=(always|runtime|never)` default: runtime)
+  * Add runtime flag `ASAN_OPTIONS=detect_stack_use_after_return=1` to enable when compiled with `-fsanitize-address-use-after-return=runtime`)
 * Use-after-scope (clang flag `-fsanitize-address-use-after-scope`)
----------------
vitalybuka wrote:
> Please check that this is formatted reasonable in preview.
See attached screenshot.


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