summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-11-28 14:14:48 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-11-28 14:14:48 +0000
commit9c1f8323ae537bf3a84a6f00ce3b15d99bacc124 (patch)
tree3afcc2b4048ce2df816e5ddf0c05d6b0dda64512 /compiler-rt/lib/tsan
parent25ecfcf00cc1c06a3c4743b29dc0ea6749adabc1 (diff)
downloadbcm5719-llvm-9c1f8323ae537bf3a84a6f00ce3b15d99bacc124.tar.gz
bcm5719-llvm-9c1f8323ae537bf3a84a6f00ce3b15d99bacc124.zip
[sanitizer] Intercept iconv.
llvm-svn: 195917
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 dcf28c8d49b..256ae835a11 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_stat.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_stat.cc
@@ -416,6 +416,7 @@ void StatOutput(u64 *stat) {
name[StatInt_lrand48_r] = " lrand48_r ";
name[StatInt_getline] = " getline ";
name[StatInt_getdelim] = " getdelim ";
+ name[StatInt_iconv] = " iconv ";
name[StatInt_pthread_attr_getdetachstate] = " pthread_addr_getdetachstate "; // NOLINT
name[StatInt_pthread_attr_getguardsize] = " pthread_addr_getguardsize "; // NOLINT
diff --git a/compiler-rt/lib/tsan/rtl/tsan_stat.h b/compiler-rt/lib/tsan/rtl/tsan_stat.h
index 1869c9d1fd8..afb3c22d6d5 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_stat.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_stat.h
@@ -411,6 +411,7 @@ enum StatType {
StatInt_lrand48_r,
StatInt_getline,
StatInt_getdelim,
+ StatInt_iconv,
StatInt_pthread_attr_getdetachstate,
StatInt_pthread_attr_getguardsize,
OpenPOWER on IntegriCloud