diff options
author | Slava Barinov <v.barinov@samsung.com> | 2016-08-25 12:51:43 +0300 |
---|---|---|
committer | Slava Barinov <v.barinov@samsung.com> | 2016-11-03 12:10:09 +0300 |
commit | b4c305ed91930c50445f67af8271ff029bd08292 (patch) | |
tree | de31a4affc58740982558decc07945fb3e13aa17 | |
parent | 494777ebb0fc79a351b170c00872be37045631d4 (diff) | |
download | linaro-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.cc | 1 |
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); |