llvm-6502/test/Instrumentation
Evgeniy Stepanov 34432aeb6d [msan] Fast path optimization for wrap-indirect-calls feature of MemorySanitizer.
Indirect call wrapping helps MSanDR (dynamic instrumentation companion tool
for MSan) to catch all cases where execution leaves a compiler-instrumented
module by allowing the tool to rewrite targets of indirect calls.

This change is an optimization that skips wrapping for calls when target is
inside the current module. This relies on the linker providing symbols at the
begin and end of the module code (or code + data, does not really matter).
Gold linker provides such symbols by default. GNU (BFD) linker needs a link
flag: -Wl,--defsym=__executable_start=0.

More info:
https://code.google.com/p/memory-sanitizer/wiki/MSanDR#Native_exec


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194697 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-14 12:29:04 +00:00
..
AddressSanitizer [asan] Optimize accesses to global arrays with constant index 2013-10-16 14:06:14 +00:00
BoundsChecking fix PR17635: false positive with packed structures 2013-10-24 09:17:24 +00:00
DataFlowSanitizer DataFlowSanitizer: Implement trampolines for function pointers passed to custom functions. 2013-08-27 22:09:06 +00:00
MemorySanitizer [msan] Fast path optimization for wrap-indirect-calls feature of MemorySanitizer. 2013-11-14 12:29:04 +00:00
ThreadSanitizer tsan: implement no_sanitize_thread attribute 2013-10-17 07:20:06 +00:00