2017-11-30 18:49:49 +00:00
|
|
|
--- libsanitizer/sanitizer_common/sanitizer_linux.cc
|
|
|
|
+++ libsanitizer/sanitizer_common/sanitizer_linux.cc
|
2017-11-28 16:00:50 +00:00
|
|
|
@@ -1262,7 +1262,7 @@ struct __sanitizer_esr_context {
|
|
|
|
|
|
|
|
static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) {
|
|
|
|
static const u32 kEsrMagic = 0x45535201;
|
|
|
|
- u8 *aux = ucontext->uc_mcontext.__reserved;
|
|
|
|
+ u8 *aux = ucontext->uc_mcontext.__glibc_reserved1;
|
|
|
|
while (true) {
|
|
|
|
_aarch64_ctx *ctx = (_aarch64_ctx *)aux;
|
|
|
|
if (ctx->size == 0) break;
|