[asan] Remove -fsanitize-address-zero-base-shadow command line
flag from clang, and disable zero-base shadow support on all platforms where it is not the default behavior. - It is completely unused, as far as we know. - It is ABI-incompatible with non-zero-base shadow, which means all objects in a process must be built with the same setting. Failing to do so results in a segmentation fault at runtime. - It introduces a backward dependency of compiler-rt on user code, which is uncommon and complicates testing. This is the Clang part of a larger change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199372 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Driver/Options.td 0 additions, 6 deletionsinclude/clang/Driver/Options.td
- lib/CodeGen/BackendUtil.cpp 2 additions, 4 deletionslib/CodeGen/BackendUtil.cpp
- lib/Driver/SanitizerArgs.cpp 2 additions, 19 deletionslib/Driver/SanitizerArgs.cpp
- lib/Frontend/CompilerInvocation.cpp 0 additions, 2 deletionslib/Frontend/CompilerInvocation.cpp
- test/Driver/fsanitize.c 0 additions, 20 deletionstest/Driver/fsanitize.c
Loading
Please register or sign in to comment