[PATCH] Reimplement -fsanitize-recover family of flags.

Alexey Samsonov vonosmas at gmail.com
Tue Dec 23 16:42:34 PST 2014


Rebase the changes against trunk. Add tests for -fsanitize-recover=all
and -fno-sanitize-recover=all shorthands. Turned -f(no-)?sanitize-recover
into synonyms of -f(no-)?sanitize-recover=undefined,integer to keep
the current flag semantics and behave the same as GCC.

Please review.


http://reviews.llvm.org/D6302

Files:
  include/clang/Driver/Options.td
  include/clang/Driver/SanitizerArgs.h
  include/clang/Frontend/CodeGenOptions.def
  include/clang/Frontend/CodeGenOptions.h
  lib/CodeGen/CGExpr.cpp
  lib/Driver/SanitizerArgs.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/catch-undef-behavior.c
  test/CodeGen/compound-assign-overflow.c
  test/CodeGen/sanitize-recover.c
  test/CodeGen/ubsan-type-blacklist.cpp
  test/CodeGenCXX/catch-undef-behavior.cpp
  test/Driver/fsanitize.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6302.17613.patch
Type: text/x-patch
Size: 27746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141224/09bce369/attachment.bin>


More information about the cfe-commits mailing list