forked from OSchip/llvm-project
[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:
parent
10c17ca6c6
commit
d9a1a53b8d
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue