This reverts commit r267477.
It broke our bots that enables the AArch64 backends, it seems that
this code is using a Darwin *X86 specific* field.
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 267526
}
SignalContext::WriteFlag SignalContext::GetWriteFlag(void *context) {
- ucontext_t *ucontext = static_cast<ucontext_t*>(context);
- return ucontext->uc_mcontext->__es.__err & 2 /*T_PF_WRITE*/ ? WRITE : READ;
+ return UNKNOWN; // FIXME: implement this.
}
void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) {