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

Kevin Athey via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 11 18:36:45 PST 2022


kda updated this revision to Diff 399163.
kda added a comment.

A few improvements.

- Add -fsanitize-address-param-retval to clang.
- updated flag help text and dropped use of flag (to be picked up later).
- adjust help text
- refined rendering of help text
- add code generation
- introduce member CodeGenModule::NoundefAnalysisEnabled


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116633

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/CodeGenModule.h
  clang/test/CodeGen/attr-noundef.cpp
  clang/test/CodeGen/indirect-noundef.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116633.399163.patch
Type: text/x-patch
Size: 5297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220112/ee082f7c/attachment-0001.bin>


More information about the cfe-commits mailing list