diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-11-28 14:41:22 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-11-28 14:41:22 +0000 |
| commit | b56c5cd95ee55de9659086a8e2afd98fb3e83997 (patch) | |
| tree | 0508b2fcb377a6f8f9de8698bff3f2cfdf5b921c /compiler-rt/lib/tsan | |
| parent | 9c1f8323ae537bf3a84a6f00ce3b15d99bacc124 (diff) | |
| download | bcm5719-llvm-b56c5cd95ee55de9659086a8e2afd98fb3e83997.tar.gz bcm5719-llvm-b56c5cd95ee55de9659086a8e2afd98fb3e83997.zip | |
[sanitizer] Intercept times.
llvm-svn: 195918
Diffstat (limited to 'compiler-rt/lib/tsan')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_stat.cc | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_stat.h | 1 |
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 256ae835a11..d23de43b9aa 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_stat.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_stat.cc @@ -417,6 +417,7 @@ void StatOutput(u64 *stat) { name[StatInt_getline] = " getline "; name[StatInt_getdelim] = " getdelim "; name[StatInt_iconv] = " iconv "; + name[StatInt_times] = " times "; 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 afb3c22d6d5..21196c3b4a6 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_stat.h +++ b/compiler-rt/lib/tsan/rtl/tsan_stat.h @@ -412,6 +412,7 @@ enum StatType { StatInt_getline, StatInt_getdelim, StatInt_iconv, + StatInt_times, StatInt_pthread_attr_getdetachstate, StatInt_pthread_attr_getguardsize, |

