[asan] A different way of detectinb stack overflow.
Instead of checking stack limits that are not well defined for the main thread, we rely on siginfo::si_code and distance from SP. llvm-svn: 201673
Showing
- compiler-rt/lib/asan/asan_posix.cc 13 additions, 1 deletioncompiler-rt/lib/asan/asan_posix.cc
- compiler-rt/lib/asan/asan_report.cc 15 additions, 20 deletionscompiler-rt/lib/asan/asan_report.cc
- compiler-rt/lib/asan/asan_report.h 2 additions, 0 deletionscompiler-rt/lib/asan/asan_report.h
- compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc 5 additions, 2 deletions...t/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
- compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h 3 additions, 0 deletions...rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
Please register or sign in to comment