summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-07-01 13:51:31 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-07-01 13:51:31 +0000
commit8a4e24ea8b9d7059fa0a8b0a3ce3b838115dcc4a (patch)
treef4dcbb2d594cf465053c758cff2166ac8a97159e /compiler-rt/lib/tsan
parentaa620e187e33b0cf358382ece026d052ac217bf4 (diff)
downloadbcm5719-llvm-8a4e24ea8b9d7059fa0a8b0a3ce3b838115dcc4a.tar.gz
bcm5719-llvm-8a4e24ea8b9d7059fa0a8b0a3ce3b838115dcc4a.zip
[sanitizer] Intercept getnameinfo.
llvm-svn: 185338
Diffstat (limited to 'compiler-rt/lib/tsan')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_stat.cc1
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_stat.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_stat.cc b/compiler-rt/lib/tsan/rtl/tsan_stat.cc
index 75cbe576a4d..f2925cb53a0 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_stat.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_stat.cc
@@ -315,6 +315,7 @@ void StatOutput(u64 *stat) {
name[StatInt_inet_pton] = " inet_pton ";
name[StatInt_inet_aton] = " inet_aton ";
name[StatInt_getaddrinfo] = " getaddrinfo ";
+ name[StatInt_getnameinfo] = " getnameinfo ";
name[StatInt_getsockname] = " getsockname ";
name[StatInt_gethostent] = " gethostent ";
name[StatInt_gethostbyname] = " gethostbyname ";
diff --git a/compiler-rt/lib/tsan/rtl/tsan_stat.h b/compiler-rt/lib/tsan/rtl/tsan_stat.h
index c14f9371aa1..cd832168f4d 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_stat.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_stat.h
@@ -310,6 +310,7 @@ enum StatType {
StatInt_inet_pton,
StatInt_inet_aton,
StatInt_getaddrinfo,
+ StatInt_getnameinfo,
StatInt_getsockname,
StatInt_gethostent,
StatInt_gethostbyname,
OpenPOWER on IntegriCloud