[all-commits] [llvm/llvm-project] 0e3f03: [ASan] Rename `-fsanitize-address-destructor-kind=...

Dan Liew via All-commits all-commits at lists.llvm.org
Wed Apr 28 19:02:11 PDT 2021


  Branch: refs/heads/eng/PR-D101122-follow-up
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e3f038261be4799d0d09e70e165f526e182b0cf
      https://github.com/llvm/llvm-project/commit/0e3f038261be4799d0d09e70e165f526e182b0cf
  Author: Dan Liew <dliew at apple.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M clang/docs/ClangCommandLineReference.rst
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/test/CodeGen/asan-destructor-kind.cpp
    M clang/test/Driver/darwin-asan-mkernel-kext.c
    R clang/test/Driver/fsanitize-address-destructor-kind.c
    A clang/test/Driver/fsanitize-address-destructor.c

  Log Message:
  -----------
  [ASan] Rename `-fsanitize-address-destructor-kind=` to drop the `-kind` suffix.

Renaming the option is based on discussions in https://reviews.llvm.org/D101122.

It is normally not a good idea to rename driver flags but this flag is
new enough and obscure enough that it is very unlikely to have adopters.

While we're here also drop the `<kind>` metavar. It's not necessary and
is actually inconsistent with the documentation in
`clang/docs/ClangCommandLineReference.rst`.

Differential Revision: https://reviews.llvm.org/D101491




More information about the All-commits mailing list