[ASan] Rename `-fsanitize-address-destructor-kind=` to drop the `-kind` suffix.
authorDan Liew <dliew@apple.com>
Wed, 28 Apr 2021 21:22:08 +0000 (14:22 -0700)
committerDan Liew <dliew@apple.com>
Thu, 29 Apr 2021 18:55:42 +0000 (11:55 -0700)
commit2d42b2ee7bafe76d6b2c792b73f7371cb1cf8d94
treef94261fe5bd8de142b04d9c7902434d2d6778b73
parent438a63e13bf89ebe21768940976a6eea6285f5ff
[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
clang/docs/ClangCommandLineReference.rst
clang/include/clang/Driver/Options.td
clang/lib/Driver/SanitizerArgs.cpp
clang/test/CodeGen/asan-destructor-kind.cpp
clang/test/Driver/darwin-asan-mkernel-kext.c
clang/test/Driver/fsanitize-address-destructor.c [moved from clang/test/Driver/fsanitize-address-destructor-kind.c with 59% similarity]