diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-10-24 14:47:34 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-10-24 14:47:34 +0000 |
commit | 10362d66fffcd99bd5ced983e4b389dfeba114d0 (patch) | |
tree | ae8c70de46a077ca5cd55908fe483219c13251d5 /lib/tsan | |
parent | 1161eb4bff61908074699f6459eabce25839f966 (diff) | |
download | compiler-rt-10362d66fffcd99bd5ced983e4b389dfeba114d0.tar.gz |
[sanitizer] Intercept shmctl.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan')
-rw-r--r-- | lib/tsan/rtl/tsan_stat.cc | 1 | ||||
-rw-r--r-- | lib/tsan/rtl/tsan_stat.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/tsan/rtl/tsan_stat.cc b/lib/tsan/rtl/tsan_stat.cc index 736229865..30177e71d 100644 --- a/lib/tsan/rtl/tsan_stat.cc +++ b/lib/tsan/rtl/tsan_stat.cc @@ -392,6 +392,7 @@ void StatOutput(u64 *stat) { name[StatInt_ether_ntohost] = " ether_ntohost "; name[StatInt_ether_hostton] = " ether_hostton "; name[StatInt_ether_line] = " ether_line "; + name[StatInt_shmctl] = " shmctl "; name[StatAnnotation] = "Dynamic annotations "; name[StatAnnotateHappensBefore] = " HappensBefore "; diff --git a/lib/tsan/rtl/tsan_stat.h b/lib/tsan/rtl/tsan_stat.h index 61eea825b..5b8c60f05 100644 --- a/lib/tsan/rtl/tsan_stat.h +++ b/lib/tsan/rtl/tsan_stat.h @@ -387,6 +387,7 @@ enum StatType { StatInt_ether_ntohost, StatInt_ether_hostton, StatInt_ether_line, + StatInt_shmctl, // Dynamic annotations. StatAnnotation, |