mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-01 14:46:26 +00:00
[sanitizer] Fix PPC bot
llvm-svn: 328279
This commit is contained in:
parent
7bbfd8a5b9
commit
c038b2f441
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user