diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-07-02 13:34:44 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-07-02 13:34:44 +0000 |
| commit | 165d759a6a79458552fb21f04d9df2130c8f39e8 (patch) | |
| tree | 2db522ca2b35c67dd63ba4cfa530279a38dda641 /compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h | |
| parent | a3fc21a0f1b89d59207b10ef7c4438ad1d4ced8b (diff) | |
| download | bcm5719-llvm-165d759a6a79458552fb21f04d9df2130c8f39e8.tar.gz bcm5719-llvm-165d759a6a79458552fb21f04d9df2130c8f39e8.zip | |
[sanitizer] Intercept mbtowc, mbrtowc, get_current_dir_name.
Move getcwd to common interceptors.
llvm-svn: 185424
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h index b749a625093..5d82dd1e578 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h @@ -97,5 +97,7 @@ # define SANITIZER_INTERCEPT_READDIR64 SI_LINUX_NOT_ANDROID # define SANITIZER_INTERCEPT_PTRACE SI_LINUX_NOT_ANDROID # define SANITIZER_INTERCEPT_SETLOCALE SI_NOT_WINDOWS +# define SANITIZER_INTERCEPT_GETCWD SI_NOT_WINDOWS +# define SANITIZER_INTERCEPT_GET_CURRENT_DIR_NAME SI_LINUX #endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H |

