llvm-project/llvm/test/Instrumentation
Vitaly Buka e3a032a740 Unpoison stack before resume instruction
Summary:
Clang inserts cleanup code before resume similar way as before return instruction.
This makes asan poison local variables causing false use-after-scope reports.

__asan_handle_no_return does not help here as it was executed before
llvm.lifetime.end inserted into resume block.

To avoid false report we need to unpoison stack for resume same way as for return.

PR27453

Reviewers: kcc, eugenis

Differential Revision: https://reviews.llvm.org/D22661

llvm-svn: 276480
2016-07-22 22:04:38 +00:00
..
AddressSanitizer Unpoison stack before resume instruction 2016-07-22 22:04:38 +00:00
BoundsChecking Add a bunch of CHECK missing colons in tests. NFC. 2015-03-14 01:43:57 +00:00
DataFlowSanitizer [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
EfficiencySanitizer [esan:cfrag] Add option -esan-aux-field-info 2016-07-07 03:20:16 +00:00
InstrProfiling [profile] value profiling bug fix -- missing icall targets in profile-use 2016-06-02 16:33:41 +00:00
MemorySanitizer [msan] Fix __msan_maybe_ for non-standard type sizes. 2016-07-01 22:49:59 +00:00
SanitizerCoverage [sanitizer-coverage] make sure that calls to __sanitizer_cov_trace_pc are not merged (otherwise different calls get the same PC and confuse fuzzers) 2016-07-14 17:59:01 +00:00
ThreadSanitizer [tsan] Don't instrument __llvm_gcov_global_state_pred or __llvm_gcda* 2016-07-19 20:16:08 +00:00