Go to file
Alexey Samsonov c94285a1a0 [ASan] Completely remove sanitizer blacklist file from instrumentation pass.
All blacklisting logic is now moved to the frontend (Clang).
If a function (or source file it is in) is blacklisted, it doesn't
get sanitize_address attribute and is therefore not instrumented.
If a global variable (or source file it is in) is blacklisted, it is
reported to be blacklisted by the entry in llvm.asan.globals metadata,
and is not modified by the instrumentation.

The latter may lead to certain false positives - not all the globals
created by Clang are described in llvm.asan.globals metadata (e.g,
RTTI descriptors are not), so we may start reporting errors on them
even if "module" they appear in is blacklisted. We assume it's fine
to take such risk:
  1) errors on these globals are rare and usually indicate wild memory access
  2) we can lazily add descriptors for these globals into llvm.asan.globals
     lazily.

llvm-svn: 212505
2014-07-08 00:50:49 +00:00
clang [ASan] Completely remove sanitizer blacklist file from instrumentation pass. 2014-07-08 00:50:49 +00:00
clang-tools-extra Update for llvm api change. 2014-07-06 17:43:19 +00:00
compiler-rt [MSan] Make one more test standalone 2014-07-07 20:59:10 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc prepare-builtins: Fix broken build due to recent LLVM API change 2014-07-07 17:46:45 +00:00
libcxx Minor cleanup for string_view; mostly from suggestions by Richard Smith. Also, make the tests pass under c++03 2014-07-02 15:45:57 +00:00
libcxxabi Add a cmake build system. 2014-07-03 19:35:48 +00:00
lld [Mips] Make rel-dynamic-05.test test case independent from external input files. 2014-07-07 20:14:49 +00:00
lldb Invalidate process UID/GID-related command options on Windows. 2014-07-07 23:54:51 +00:00
llvm [ASan] Completely remove sanitizer blacklist file from instrumentation pass. 2014-07-08 00:50:49 +00:00
openmp CMake: remove duplicated source file from list 2014-06-02 13:09:24 +00:00
polly Update for llvm api change. 2014-07-06 18:11:46 +00:00