summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-02-10 08:00:24 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-02-10 08:00:24 +0000
commitc75ef739a14e47580df11d1dc2d02434cd0f53ca (patch)
treec845ab416910d8d5a559c2588f72747b7c3dc17f /compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
parent8baa386670f4c2c015c5b2ae85a04cee0af64d46 (diff)
downloadbcm5719-llvm-c75ef739a14e47580df11d1dc2d02434cd0f53ca.tar.gz
bcm5719-llvm-c75ef739a14e47580df11d1dc2d02434cd0f53ca.zip
[sanitizer] struct ustat and a bunch of other definitions are missing on Android.
llvm-svn: 201068
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
index 5eb5df553f6..a726a702ce3 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -78,21 +78,17 @@ namespace __sanitizer {
// More fields that vary with the kernel version.
};
- extern unsigned struct_utimbuf_sz;
- extern unsigned struct_new_utsname_sz;
- extern unsigned struct_old_utsname_sz;
- extern unsigned struct_oldold_utsname_sz;
- extern unsigned struct_msqid_ds_sz;
- extern unsigned struct_mq_attr_sz;
- extern unsigned struct_timex_sz;
- extern unsigned struct_ustat_sz;
-
extern unsigned struct_rlimit_sz;
extern unsigned struct_epoll_event_sz;
extern unsigned struct_sysinfo_sz;
extern unsigned struct_timespec_sz;
extern unsigned __user_cap_header_struct_sz;
extern unsigned __user_cap_data_struct_sz;
+ extern unsigned struct_utimbuf_sz;
+ extern unsigned struct_new_utsname_sz;
+ extern unsigned struct_old_utsname_sz;
+ extern unsigned struct_oldold_utsname_sz;
+
const unsigned old_sigset_t_sz = sizeof(unsigned long);
const unsigned struct_kexec_segment_sz = 4 * sizeof(unsigned long);
@@ -134,7 +130,11 @@ namespace __sanitizer {
#endif // SANITIZER_LINUX
#if SANITIZER_LINUX && !SANITIZER_ANDROID
+ extern unsigned struct_ustat_sz;
extern unsigned struct_rlimit64_sz;
+ extern unsigned struct_timex_sz;
+ extern unsigned struct_msqid_ds_sz;
+ extern unsigned struct_mq_attr_sz;
extern unsigned struct_statvfs_sz;
extern unsigned struct_statvfs64_sz;
OpenPOWER on IntegriCloud