diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-10-23 13:57:47 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-10-23 13:57:47 +0000 |
| commit | 3e6064f9d20fc413a9c9099dd818c8842c4d6911 (patch) | |
| tree | 7dbcb6df4b80e577f55391fbc5d2370d4f3b1bf9 /compiler-rt/lib/tsan | |
| parent | be8681b4612f4a85ce2c1c14231122ad922268e1 (diff) | |
| download | bcm5719-llvm-3e6064f9d20fc413a9c9099dd818c8842c4d6911.tar.gz bcm5719-llvm-3e6064f9d20fc413a9c9099dd818c8842c4d6911.zip | |
[sanitizer] Intercept ether_* functions.
llvm-svn: 193241
Diffstat (limited to 'compiler-rt/lib/tsan')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_stat.cc | 7 | ||||
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_stat.h | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_stat.cc b/compiler-rt/lib/tsan/rtl/tsan_stat.cc index 971e739ce2d..7362298654d 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_stat.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_stat.cc @@ -385,6 +385,13 @@ void StatOutput(u64 *stat) { name[StatInt_fstatvfs] = " fstatvfs "; name[StatInt_fstatvfs64] = " fstatvfs64 "; name[StatInt_initgroups] = " initgroups "; + name[StatInt_ether_ntoa] = " ether_ntoa "; + name[StatInt_ether_aton] = " ether_aton "; + name[StatInt_ether_ntoa_r] = " ether_ntoa_r "; + name[StatInt_ether_aton_r] = " ether_aton_r "; + name[StatInt_ether_ntohost] = " ether_ntohost "; + name[StatInt_ether_hostton] = " ether_hostton "; + name[StatInt_ether_line] = " ether_line "; name[StatAnnotation] = "Dynamic annotations "; name[StatAnnotateHappensBefore] = " HappensBefore "; diff --git a/compiler-rt/lib/tsan/rtl/tsan_stat.h b/compiler-rt/lib/tsan/rtl/tsan_stat.h index 237a8921e4d..61eea825b54 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_stat.h +++ b/compiler-rt/lib/tsan/rtl/tsan_stat.h @@ -380,6 +380,13 @@ enum StatType { StatInt_fstatvfs, StatInt_fstatvfs64, StatInt_initgroups, + StatInt_ether_ntoa, + StatInt_ether_aton, + StatInt_ether_ntoa_r, + StatInt_ether_aton_r, + StatInt_ether_ntohost, + StatInt_ether_hostton, + StatInt_ether_line, // Dynamic annotations. StatAnnotation, |

