summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-11-02 01:01:35 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-11-02 01:01:35 +0000
commita6b5eec7574c863975022f68a2c0c6827e1806b2 (patch)
treea92b4b9f5a412dc67ed59bc2538dd701fb1787a0 /compiler-rt/lib/tsan
parent5d80bfa746b92400a6e4a0f3c23f5259e225ea3c (diff)
downloadbcm5719-llvm-a6b5eec7574c863975022f68a2c0c6827e1806b2.tar.gz
bcm5719-llvm-a6b5eec7574c863975022f68a2c0c6827e1806b2.zip
[sanitizer] Intercept strptime.
llvm-svn: 193903
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 72d173dee34..f9dbf121cef 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_stat.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_stat.cc
@@ -292,6 +292,7 @@ void StatOutput(u64 *stat) {
name[StatInt_ctime_r] = " ctime_r ";
name[StatInt_asctime] = " asctime ";
name[StatInt_asctime_r] = " asctime_r ";
+ name[StatInt_strptime] = " strptime ";
name[StatInt_frexp] = " frexp ";
name[StatInt_frexpf] = " frexpf ";
name[StatInt_frexpl] = " frexpl ";
diff --git a/compiler-rt/lib/tsan/rtl/tsan_stat.h b/compiler-rt/lib/tsan/rtl/tsan_stat.h
index d6ff93c5ab5..a44edfcd65c 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_stat.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_stat.h
@@ -287,6 +287,7 @@ enum StatType {
StatInt_ctime_r,
StatInt_asctime,
StatInt_asctime_r,
+ StatInt_strptime,
StatInt_frexp,
StatInt_frexpf,
StatInt_frexpl,
OpenPOWER on IntegriCloud