]> granicus.if.org Git - clang/commit
Remove top-level Clang -fsanitize= flags for optional ASan features.
authorAlexey Samsonov <vonosmas@gmail.com>
Fri, 13 Jun 2014 17:53:44 +0000 (17:53 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Fri, 13 Jun 2014 17:53:44 +0000 (17:53 +0000)
commitee5a39f2cf1dce6408eea925fab7312572b421f5
tree2812d2b97202309624c8802c05e8fc4c13256cba
parent1b302fa91419e4cff29f340372aa18d1443a4a96
Remove top-level Clang -fsanitize= flags for optional ASan features.

Init-order and use-after-return modes can currently be enabled
by runtime flags. use-after-scope mode is not really working at the
moment.

The only problem I see is that users won't be able to disable extra
instrumentation for init-order and use-after-scope by a top-level Clang flag.
But this instrumentation was implicitly enabled for quite a while and
we didn't hear from users hurt by it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210924 91177308-0d34-0410-b5e6-96231b3b80d8
docs/UsersManual.rst
include/clang/Basic/Sanitizers.def
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGDecl.cpp
lib/Driver/SanitizerArgs.cpp
test/CodeGen/sanitize-init-order.cpp
test/CodeGen/sanitize-use-after-scope.c [deleted file]
test/Driver/fsanitize.c