tsan: correct sizes of signal-related data structures
llvm-svn: 177526
This commit is contained in:
parent
c2d2c8939c
commit
6120bac6e6
|
@ -28,18 +28,18 @@
|
|||
|
||||
using namespace __tsan; // NOLINT
|
||||
|
||||
const int kSigCount = 128;
|
||||
const int kSigCount = 64;
|
||||
|
||||
struct my_siginfo_t {
|
||||
int opaque[128];
|
||||
u64 opaque[128 / sizeof(u64)];
|
||||
};
|
||||
|
||||
struct sigset_t {
|
||||
u64 val[1024 / 8 / sizeof(u64)];
|
||||
u64 val[128 / sizeof(u64)];
|
||||
};
|
||||
|
||||
struct ucontext_t {
|
||||
uptr opaque[117];
|
||||
u64 opaque[936 / sizeof(u64) + 1];
|
||||
};
|
||||
|
||||
extern "C" int pthread_attr_init(void *attr);
|
||||
|
|
Loading…
Reference in New Issue