llvm-6502/lib/Transforms/Instrumentation
Alexey Samsonov f78f9fda31 [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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212505 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-08 00:50:49 +00:00
..
AddressSanitizer.cpp [ASan] Completely remove sanitizer blacklist file from instrumentation pass. 2014-07-08 00:50:49 +00:00
BoundsChecking.cpp [C++] Use 'nullptr'. Transforms edition. 2014-04-25 05:29:35 +00:00
CMakeLists.txt
DataFlowSanitizer.cpp Delete getAliasedGlobal. 2014-05-16 22:37:03 +00:00
DebugIR.cpp Revert "Introduce a string_ostream string builder facilty" 2014-06-26 22:52:05 +00:00
DebugIR.h [C++] Use 'nullptr'. Transforms edition. 2014-04-25 05:29:35 +00:00
GCOVProfiling.cpp Revert "Introduce a string_ostream string builder facilty" 2014-06-26 22:52:05 +00:00
Instrumentation.cpp
LLVMBuild.txt
Makefile
MaximumSpanningTree.h
MemorySanitizer.cpp [msan] Fix handling of phi in blacklisted functions. 2014-07-07 13:28:31 +00:00
ThreadSanitizer.cpp Kill unnecessary include 2014-07-08 00:03:11 +00:00