[PATCH] D77753: Change deprecated -fsanitize-recover flag to apply to all sanitizers, not just UBSan.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 14:08:57 PDT 2020


rsmith created this revision.
rsmith added a reviewer: kcc.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This flag has been deprecated, with an on-by-default warning encouraging
users to explicitly specify whether they mean "all" or ubsan for 5 years
(released in Clang 3.7). Change it to mean what we wanted and
undeprecate it.

Also make the argument to -fsanitize-trap optional, and likewise default
it to 'all', and express the aliases for these flags in the .td file
rather than in code. (Plus documentation updates for the above.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77753

Files:
  clang/docs/ReleaseNotes.rst
  clang/docs/UndefinedBehaviorSanitizer.rst
  clang/docs/UsersManual.rst
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/SanitizerArgs.cpp
  clang/test/Driver/fsanitize.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77753.256109.patch
Type: text/x-patch
Size: 11826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200408/1b4de2b5/attachment-0001.bin>


More information about the cfe-commits mailing list