Add top-level Clang flag -f(no-)sanitize-address-zero-base-shadow that makes AddressS...
authorAlexey Samsonov <samsonov@google.com>
Sun, 20 Jan 2013 13:12:12 +0000 (13:12 +0000)
committerAlexey Samsonov <samsonov@google.com>
Sun, 20 Jan 2013 13:12:12 +0000 (13:12 +0000)
commit29524a98714e5a102ef7d68d5f668577d8e68ca4
tree7c7612ea5399ab2f8725fc0fb2e851b7180c4d0a
parent1b4fb3e08b28f12d508aec0bbdcb6f41cfb0ee38
Add top-level Clang flag -f(no-)sanitize-address-zero-base-shadow that makes AddressSanitizer use bottom of the address space for the shadow memory. On Linux it can be used with -fPIE/-pie to improve performance.

llvm-svn: 172974
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/CodeGenOptions.def
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/SanitizerArgs.h
clang/lib/Driver/Tools.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Driver/fsanitize.c