[compiler-rt] r184736 - [sanitizer] Fix TSan build.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Jun 24 07:03:14 PDT 2013


Author: eugenis
Date: Mon Jun 24 09:03:13 2013
New Revision: 184736

URL: http://llvm.org/viewvc/llvm-project?rev=184736&view=rev
Log:
[sanitizer] Fix TSan build.

Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_stat.cc
    compiler-rt/trunk/lib/tsan/rtl/tsan_stat.h

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_stat.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_stat.cc?rev=184736&r1=184735&r2=184736&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_stat.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_stat.cc Mon Jun 24 09:03:13 2013
@@ -313,6 +313,7 @@ void StatOutput(u64 *stat) {
   name[StatInt_wait4]                    = "  wait4                           ";
   name[StatInt_inet_ntop]                = "  inet_ntop                       ";
   name[StatInt_inet_pton]                = "  inet_pton                       ";
+  name[StatInt_inet_aton]                = "  inet_aton                       ";
   name[StatInt_getaddrinfo]              = "  getaddrinfo                     ";
   name[StatInt_getsockname]              = "  getsockname                     ";
   name[StatInt_gethostent]               = "  gethostent                      ";

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_stat.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_stat.h?rev=184736&r1=184735&r2=184736&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_stat.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_stat.h Mon Jun 24 09:03:13 2013
@@ -308,6 +308,7 @@ enum StatType {
   StatInt_wait4,
   StatInt_inet_ntop,
   StatInt_inet_pton,
+  StatInt_inet_aton,
   StatInt_getaddrinfo,
   StatInt_getsockname,
   StatInt_gethostent,





More information about the llvm-commits mailing list