[PATCH] D116633: Add -fsanitize-address-param-retval to clang.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 6 14:51:33 PST 2022


MaskRay added a comment.

This needs a clang/test/Driver test to show that `%clang -fsanitize-memory-param-retval` translates to CC1 `-fsanitize-memory-param-retval`.



================
Comment at: clang/include/clang/Driver/Options.td:1675
+      PosFlag<SetTrue, [CC1Option], "Enable">, NegFlag<SetFalse, [], "Disable">,
+      BothFlags<[], "Detect uninitialized parameters and return values.">>,
+    Group<f_clang_Group>;
----------------
`--help` messages don't have periods.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116633



More information about the cfe-commits mailing list