diff options
author | Kostya Serebryany <kcc@google.com> | 2015-07-31 01:07:12 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2015-07-31 01:07:12 +0000 |
commit | 9984ff4606b2fab9341e81e8378b7e24bb3d29f5 (patch) | |
tree | e8e82f9527966766b9367225f3310ec8d3f76f9b /lib/dfsan/dfsan_custom.cc | |
parent | 474eedb03be4a880551ca3ecd120a13914e65154 (diff) |
[libFuzzer] prepare for __sanitizer_cov_trace_switch in libFuzzer and sanitizer coverage. Also fix pedantic warnings
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@243721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/dfsan/dfsan_custom.cc')
-rw-r--r-- | lib/dfsan/dfsan_custom.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dfsan/dfsan_custom.cc b/lib/dfsan/dfsan_custom.cc index d9a303e6d..e939e02c5 100644 --- a/lib/dfsan/dfsan_custom.cc +++ b/lib/dfsan/dfsan_custom.cc @@ -93,7 +93,7 @@ SANITIZER_INTERFACE_ATTRIBUTE char *__dfsw_strchr(const char *s, int c, DECLARE_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_memcmp, uptr caller_pc, const void *s1, const void *s2, size_t n, dfsan_label s1_label, dfsan_label s2_label, - dfsan_label n_label); + dfsan_label n_label) SANITIZER_INTERFACE_ATTRIBUTE int __dfsw_memcmp(const void *s1, const void *s2, size_t n, dfsan_label s1_label, @@ -162,7 +162,7 @@ __dfsw_strcasecmp(const char *s1, const char *s2, dfsan_label s1_label, DECLARE_WEAK_INTERCEPTOR_HOOK(dfsan_weak_hook_strncmp, uptr caller_pc, const char *s1, const char *s2, size_t n, dfsan_label s1_label, dfsan_label s2_label, - dfsan_label n_label); + dfsan_label n_label) SANITIZER_INTERFACE_ATTRIBUTE int __dfsw_strncmp(const char *s1, const char *s2, size_t n, dfsan_label s1_label, |