[compiler-rt] r253406 - [ASan] Be consistent and refer to reported issues as "errors" in hints.
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 16:24:32 PST 2015
Author: samsonov
Date: Tue Nov 17 18:24:32 2015
New Revision: 253406
URL: http://llvm.org/viewvc/llvm-project?rev=253406&view=rev
Log:
[ASan] Be consistent and refer to reported issues as "errors" in hints.
Modified:
compiler-rt/trunk/lib/asan/asan_report.cc
Modified: compiler-rt/trunk/lib/asan/asan_report.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_report.cc?rev=253406&r1=253405&r2=253406&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_report.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_report.cc Tue Nov 17 18:24:32 2015
@@ -789,7 +789,7 @@ void ReportNewDeleteSizeMismatch(uptr ad
stack.Print();
DescribeHeapAddress(addr, 1);
ReportErrorSummary("new-delete-type-mismatch", &stack);
- Report("HINT: if you don't care about these warnings you may set "
+ Report("HINT: if you don't care about these errors you may set "
"ASAN_OPTIONS=new_delete_type_mismatch=0\n");
}
@@ -829,7 +829,7 @@ void ReportAllocTypeMismatch(uptr addr,
stack.Print();
DescribeHeapAddress(addr, 1);
ReportErrorSummary("alloc-dealloc-mismatch", &stack);
- Report("HINT: if you don't care about these warnings you may set "
+ Report("HINT: if you don't care about these errors you may set "
"ASAN_OPTIONS=alloc_dealloc_mismatch=0\n");
}
@@ -931,7 +931,7 @@ void ReportODRViolation(const __asan_glo
Printf(" [2]:\n");
StackDepotGet(stack_id2).Print();
}
- Report("HINT: if you don't care about these warnings you may set "
+ Report("HINT: if you don't care about these errors you may set "
"ASAN_OPTIONS=detect_odr_violation=0\n");
InternalScopedString error_msg(256);
error_msg.append("odr-violation: global '%s' at %s",
More information about the llvm-commits
mailing list