[PATCH] [ASAN/AArch64] Fix kernel_old_Xid_t type

Christophe Lyon christophe.lyon at linaro.org
Fri Nov 21 04:58:17 PST 2014


>>! In D6026#11, @eugenis wrote:
> http://llvm.org/bugs/show_bug.cgi?id=21476
> 
> Any ideas to how test this w/o relying on the kernel version?

As I suggested, rely on the kernel headers to import the definitions in use.

Or, add some form of configure tests to detect the properties of the target.

FYI, I've been informed of a similar problem in glibc where the patch
https://sourceware.org/ml/libc-alpha/2014-10/msg00558.html
now causes problems in sanitizer_platform_limits_posix.h

http://reviews.llvm.org/D6026






More information about the llvm-commits mailing list