[hwasan] use thread-local ring buffers to properly report heap-use-after-free
authorKostya Serebryany <kcc@google.com>
Thu, 30 Aug 2018 22:11:56 +0000 (22:11 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 30 Aug 2018 22:11:56 +0000 (22:11 +0000)
commite6507f02a06e3034e9fb4cff683a099391173ae8
treef6f9fcdae03729e5072243aa46d3cf5522071c91
parentbc607e9252b7c79a50a18f1366402ee3fdbd9435
[hwasan] use thread-local ring buffers to properly report heap-use-after-free

llvm-svn: 341133
compiler-rt/lib/hwasan/hwasan_allocator.cc
compiler-rt/lib/hwasan/hwasan_allocator.h
compiler-rt/lib/hwasan/hwasan_report.cc
compiler-rt/lib/hwasan/hwasan_thread.cc
compiler-rt/lib/hwasan/hwasan_thread.h
compiler-rt/test/hwasan/TestCases/double-free.c
compiler-rt/test/hwasan/TestCases/realloc-after-free.c
compiler-rt/test/hwasan/TestCases/use-after-free.c