[PATCH] D134669: [clang][msan] Turn on -fsanitize-memory-param-retval by default
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 27 13:23:02 PDT 2022
xbolva00 added inline comments.
================
Comment at: clang/docs/ReleaseNotes.rst:452
+----------
+- ``-fsanitize-memory-param-retval`` is turned on by default. With
+ ``-fsanitize=memory``, passing uninitialized variables to functions and
----------------
Probably I would mention that there is -fno-sanitize-memory-param-retval to disable it.
So one can use “-fsanitize=memory -fno-sanitize-memory-param-retval“ to unblock failed builds.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134669/new/
https://reviews.llvm.org/D134669
More information about the cfe-commits
mailing list