summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_interceptors.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
index 76203c2110b..c122e4f6826 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
@@ -31,14 +31,17 @@ using namespace __tsan; // NOLINT
const int kSigCount = 64;
struct my_siginfo_t {
+ // The size is determined by looking at sizeof of real siginfo_t on linux.
u64 opaque[128 / sizeof(u64)];
};
struct sigset_t {
+ // The size is determined by looking at sizeof of real sigset_t on linux.
u64 val[128 / sizeof(u64)];
};
struct ucontext_t {
+ // The size is determined by looking at sizeof of real ucontext_t on linux.
u64 opaque[936 / sizeof(u64) + 1];
};
OpenPOWER on IntegriCloud