]> granicus.if.org Git - clang/commit
Add an experimental flag -fsanitize-memory-use-after-dtor.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 10 Jul 2015 20:07:16 +0000 (20:07 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 10 Jul 2015 20:07:16 +0000 (20:07 +0000)
commitd0137867bff6d9e401b95656e78be80b9ce0e3d1
tree1bab367c413191fa12cf47089ea446bd27ff126a
parenta7d8f474bdb5eccb1bae2db8f86cdac405d29bea
Add an experimental flag -fsanitize-memory-use-after-dtor.

This flag will enable detection of use-after-destructor (but before
memory deallocation) bugs. No actual functionality yet.

https://code.google.com/p/address-sanitizer/issues/detail?id=73

Patch by Naomi Musgrave.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241935 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
include/clang/Driver/SanitizerArgs.h
include/clang/Frontend/CodeGenOptions.def
lib/Driver/SanitizerArgs.cpp
lib/Frontend/CompilerInvocation.cpp
test/Driver/fsanitize.c