[compiler-rt] r280213 - Fix buildbot bug: Wasn't printing scariness for DoubleFree

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 02:39:47 PDT 2016


Author: filcab
Date: Wed Aug 31 04:39:47 2016
New Revision: 280213

URL: http://llvm.org/viewvc/llvm-project?rev=280213&view=rev
Log:
Fix buildbot bug: Wasn't printing scariness for DoubleFree

Modified:
    compiler-rt/trunk/lib/asan/asan_errors.cc

Modified: compiler-rt/trunk/lib/asan/asan_errors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_errors.cc?rev=280213&r1=280212&r2=280213&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_errors.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_errors.cc Wed Aug 31 04:39:47 2016
@@ -44,6 +44,7 @@ void ErrorDoubleFree::Print() {
       addr_description.addr, tid,
       ThreadNameWithParenthesis(tid, tname, sizeof(tname)));
   Printf("%s", d.EndWarning());
+  scariness.Print();
   GET_STACK_TRACE_FATAL(second_free_stack->trace[0],
                         second_free_stack->top_frame_bp);
   stack.Print();




More information about the llvm-commits mailing list