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

Dan Liew via All-commits all-commits at lists.llvm.org
Thu Apr 29 11:56:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d42b2ee7bafe76d6b2c792b73f7371cb1cf8d94
      https://github.com/llvm/llvm-project/commit/2d42b2ee7bafe76d6b2c792b73f7371cb1cf8d94
  Author: Dan Liew <dliew at apple.com>
  Date:   2021-04-29 (Thu, 29 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