[PATCH] D15079: [asan] Reports suppressions for ASan recovery mode (LLVM core part).

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 07:50:23 PST 2015


m.ostepenko created this revision.
m.ostepenko added reviewers: kcc, eugenis, samsonov.
m.ostepenko added subscribers: ygribov, llvm-commits.
m.ostepenko set the repository for this revision to rL LLVM.

Hi!

When we run sanitized application in ASan recovery mode, sometimes we have lots of identical reports for the same error (e.g. error in hot loop). It would be nice to filter out such reports.
We can use the same approach as for UBSan with disabling source locations to achieve this goal.

This is the LLVM part of suppression functionality. Here, we just create SourceLocation descriptor for each memory access and provide a pointer to it for asan_report*_noabort functions.
There aren't any changes in default halt_on_error mode.

Repository:
  rL LLVM

http://reviews.llvm.org/D15079

Files:
  lib/Transforms/Instrumentation/AddressSanitizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15079.41395.patch
Type: text/x-patch
Size: 7892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151130/d358a29a/attachment.bin>


More information about the llvm-commits mailing list