[compiler-rt] r195436 - [sanitizer] Add kernel_stat definitions for arm.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Fri Nov 22 02:09:34 PST 2013
Author: eugenis
Date: Fri Nov 22 04:09:34 2013
New Revision: 195436
URL: http://llvm.org/viewvc/llvm-project?rev=195436&view=rev
Log:
[sanitizer] Add kernel_stat definitions for arm.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h?rev=195436&r1=195435&r2=195436&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h Fri Nov 22 04:09:34 2013
@@ -57,6 +57,10 @@ namespace __sanitizer {
const unsigned struct___old_kernel_stat_sz = 32;
const unsigned struct_kernel_stat_sz = 64;
const unsigned struct_kernel_stat64_sz = 96;
+#elif defined(__arm__)
+ const unsigned struct___old_kernel_stat_sz = 32;
+ const unsigned struct_kernel_stat_sz = 64;
+ const unsigned struct_kernel_stat64_sz = 104;
#endif
const unsigned struct_io_event_sz = 32;
struct __sanitizer_perf_event_attr {
More information about the llvm-commits
mailing list