[PATCH] [UBSan] Add summary reporting

Alexey Samsonov samsonov at google.com
Thu Nov 14 05:45:03 PST 2013


Hi rsmith,

This doesn't modify plain UBSan behavior, but if UBSan is combined
with ASan, it prints the following line:
  SUMMARY: AddressSanitizer: runtime-error: some/file.cc:8
after its usual diagnostics. It is consistent with another error reports
produced by ASan and plays well with __sanitizer_report_error_summary callback
overridable by user.

http://llvm-reviews.chandlerc.com/D2178

Files:
  lib/ubsan/lit_tests/AsanConfig/lit.cfg
  lib/ubsan/lit_tests/TestCases/Integer/summary.cpp
  lib/ubsan/lit_tests/UbsanConfig/lit.cfg
  lib/ubsan/ubsan_handlers.cc
  lib/ubsan/ubsan_handlers_cxx.cc
  lib/ubsan/ubsan_diag.cc
  lib/ubsan/ubsan_diag.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2178.1.patch
Type: text/x-patch
Size: 9307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131114/849c0848/attachment.bin>


More information about the llvm-commits mailing list