diff options
author | Narayan Kamath <narayan@google.com> | 2014-03-14 12:53:43 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-03-14 12:53:43 +0000 |
commit | 15245bc8bcafc791398668de5e05befbec4749f2 (patch) | |
tree | ecbbc06a17bc770cb8764c0c69be285d2b3d3409 /runtime | |
parent | 749acb9ee4ae531194371ba7660a6dc2197791e5 (diff) | |
download | art-15245bc8bcafc791398668de5e05befbec4749f2.zip art-15245bc8bcafc791398668de5e05befbec4749f2.tar.gz art-15245bc8bcafc791398668de5e05befbec4749f2.tar.bz2 |
mips has no sa_restorer.
This change should be a no-op, because we're not using
it anyway. FaultManager doesn't seem designed for inheritance,
so I can't put this in an arch specific subclass.
Change-Id: I2eaabdf2a77ef558c59139344f8654cf3ccafa86
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/fault_handler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/fault_handler.cc b/runtime/fault_handler.cc index 6399c0d..f9f3e25 100644 --- a/runtime/fault_handler.cc +++ b/runtime/fault_handler.cc @@ -53,7 +53,9 @@ void FaultManager::Init() { action.sa_sigaction = art_fault_handler; sigemptyset(&action.sa_mask); action.sa_flags = SA_SIGINFO | SA_ONSTACK; +#if !defined(__mips__) action.sa_restorer = nullptr; +#endif sigaction(SIGSEGV, &action, &oldaction_); } |