diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-07-02 14:08:52 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-07-02 14:08:52 +0000 |
commit | 906f2c11e854539f316f737b1f661c0f6bc66fab (patch) | |
tree | e3433f276fa7808949dec15ad93518c1a70d9993 /lib/sanitizer_common/sanitizer_platform_limits_posix.h | |
parent | 801448950d645813efb398575bbc62b48e5b1dfc (diff) | |
download | compiler-rt-906f2c11e854539f316f737b1f661c0f6bc66fab.tar.gz compiler-rt-906f2c11e854539f316f737b1f661c0f6bc66fab.tar.bz2 compiler-rt-906f2c11e854539f316f737b1f661c0f6bc66fab.tar.xz |
[sanitizer] Fix GLOB_NOMATCH behaviour and refactor the interceptor a bit.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_platform_limits_posix.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_platform_limits_posix.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/lib/sanitizer_common/sanitizer_platform_limits_posix.h index 96e34770..9b0ab0a1 100644 --- a/lib/sanitizer_common/sanitizer_platform_limits_posix.h +++ b/lib/sanitizer_common/sanitizer_platform_limits_posix.h @@ -181,6 +181,15 @@ namespace __sanitizer { }; #if SANITIZER_LINUX && !SANITIZER_ANDROID + struct __sanitizer_glob_t { + uptr gl_pathc; + char **gl_pathv; + }; + + extern int glob_nomatch; +#endif + +#if SANITIZER_LINUX && !SANITIZER_ANDROID extern unsigned struct_user_regs_struct_sz; extern unsigned struct_user_fpregs_struct_sz; extern unsigned struct_user_fpxregs_struct_sz; |