[ASan] Poison the leftmost shadow byte with a special value so that we can find
authorAlexander Potapenko <glider@google.com>
Thu, 15 Nov 2012 13:40:44 +0000 (13:40 +0000)
committerAlexander Potapenko <glider@google.com>
Thu, 15 Nov 2012 13:40:44 +0000 (13:40 +0000)
commitb34db9e88336d673c3b69a65d8ffc41491731668
treef5c56c4179f32d2dfc2690766ab16c3ec931f530
parentcc9ffd1f8a3ffa16388b093e6117d1afeec6c27a
[ASan] Poison the leftmost shadow byte with a special value so that we can find
the beginning of the fake frame when reporting an use-after-return error.
Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=126

llvm-svn: 168040
compiler-rt/lib/asan/asan_allocator.cc
compiler-rt/lib/asan/asan_internal.h
compiler-rt/lib/asan/asan_report.cc
compiler-rt/lib/asan/asan_thread.cc