[ESan] [MIPS] Fix workingset-signal-posix.cpp on MIPS

Used uptr for __sanitizer_kernel_sigset_t.sig to avoid byte order issues on big endian systems

Reviewd by bruening.
Differential: D24332 

llvm-svn: 283438
This commit is contained in:
Sagar Thakur 2016-10-06 10:21:42 +00:00
parent 10c17ca6c6
commit d9a1a53b8d
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ namespace __sanitizer {
typedef __sanitizer_sigset_t __sanitizer_kernel_sigset_t;
#elif defined(__mips__)
struct __sanitizer_kernel_sigset_t {
u8 sig[16];
uptr sig[2];
};
#else
struct __sanitizer_kernel_sigset_t {