llvm-6502/test/Instrumentation
Alexey Samsonov 05e5839d4f [ASan] Change fake stack and local variables handling.
This commit changes the way we get fake stack from ASan runtime
(to find use-after-return errors) and the way we represent local
variables:
  - __asan_stack_malloc function now returns pointer to newly allocated
    fake stack frame, or NULL if frame cannot be allocated. It doesn't
    take pointer to real stack as an input argument, it is calculated
    inside the runtime.
  - __asan_stack_free function doesn't take pointer to real stack as
    an input argument. Now this function is never called if fake stack
    frame wasn't allocated.
  - __asan_init version is bumped to reflect changes in the ABI.
  - new flag "-asan-stack-dynamic-alloca" allows to store all the
    function local variables in a dynamic alloca, instead of the static
    one. It reduces the stack space usage in use-after-return mode
    (dynamic alloca will not be called if the local variables are stored
    in a fake stack), and improves the debug info quality for local
    variables (they will not be described relatively to %rbp/%rsp, which
    are assumed to be clobbered by function calls). This flag is turned
    off by default for now, but I plan to turn it on after more
    testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224062 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-11 21:53:03 +00:00
..
AddressSanitizer [ASan] Change fake stack and local variables handling. 2014-12-11 21:53:03 +00:00
BoundsChecking Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
DataFlowSanitizer Add target triples to all dfsan tests. 2014-12-05 22:32:30 +00:00
InstrProfiling InstrProf: An intrinsic and lowering for instrumentation based profiling 2014-12-08 18:02:35 +00:00
MemorySanitizer [msan] Avoid extra origin address realignment. 2014-12-05 14:34:03 +00:00
SanitizerCoverage [msan] allow -fsanitize-coverage=N together with -fsanitize=memory, llvm part 2014-12-03 23:28:26 +00:00
ThreadSanitizer [TSan] Fixup a test case after r209939 2014-05-31 00:26:03 +00:00