summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2016-08-25 12:51:43 +0300
committerSlava Barinov <v.barinov@samsung.com>2016-11-03 12:10:09 +0300
commitb4c305ed91930c50445f67af8271ff029bd08292 (patch)
treede31a4affc58740982558decc07945fb3e13aa17
parent494777ebb0fc79a351b170c00872be37045631d4 (diff)
downloadlinaro-gcc-b4c305ed91930c50445f67af8271ff029bd08292.tar.gz
linaro-gcc-b4c305ed91930c50445f67af8271ff029bd08292.tar.bz2
linaro-gcc-b4c305ed91930c50445f67af8271ff029bd08292.zip
Add SanitizerToolName to UBSan report message
Change-Id: Ia258f1e3906bb095ca0d33d3354dd9b1f640c89f Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--libsanitizer/sanitizer_common/sanitizer_common.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsanitizer/sanitizer_common/sanitizer_common.cc b/libsanitizer/sanitizer_common/sanitizer_common.cc
index 7c7a6c8169d..5df61c22591 100644
--- a/libsanitizer/sanitizer_common/sanitizer_common.cc
+++ b/libsanitizer/sanitizer_common/sanitizer_common.cc
@@ -288,6 +288,7 @@ void ReportErrorSummary(const char *error_type, const AddressInfo &info) {
if (!common_flags()->print_summary)
return;
InternalScopedString buff(kMaxSummaryLength);
+ buff.append("%s ", SanitizerToolName);
buff.append("%s ", error_type);
RenderFrame(&buff, "%L %F", 0, info, common_flags()->symbolize_vs_style,
common_flags()->strip_path_prefix);