[sanitizer] Fix PPC bot

llvm-svn: 328279
This commit is contained in:
Vitaly Buka 2018-03-23 00:15:10 +00:00
parent 7bbfd8a5b9
commit c038b2f441
1 changed files with 3 additions and 3 deletions

View File

@ -1709,11 +1709,11 @@ static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) {
#if SANITIZER_OPENBSD
using Context = sigcontext;
#else
using Context = ucontext;
#endif // !SANITIZER_OPENBSD
using Context = ucontext_t;
#endif
SignalContext::WriteFlag SignalContext::GetWriteFlag() const {
ucontext_t *ucontext = (ucontext_t *)context;
Context *ucontext = (Context *)context;
#if defined(__x86_64__) || defined(__i386__)
static const uptr PF_WRITE = 1U << 1;
#if SANITIZER_FREEBSD