[PATCH] D54473: [sanitizers] Initial implementation for -fsanitize=init-locals
Kostya Serebryany via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 13 12:17:57 PST 2018
kcc added a comment.
This new flag inhibits the warnings from -Wuninitialized, right?
While this is fine for experimenting (and I want to have this in ToT to enable wide experimentation)
we should clearly state (in the comments) that the final intent is to make the feature work together with -Wuninitialized.
Another thing that we will need (and not necessary in the first change) is to have fine grained controls over what we zero-initialize.
We may want to make separate decisions for pointer/non-pointer scalars, PODs, arrays of {scalars, pointers, PODs}, etc.
Repository:
rC Clang
https://reviews.llvm.org/D54473
More information about the cfe-commits
mailing list