| Index: runtime/vm/signal_handler_android.cc
|
| diff --git a/runtime/vm/signal_handler_android.cc b/runtime/vm/signal_handler_android.cc
|
| index e4e25b25da5ae51fd00453f56d1f291ae9c239be..c466ebd596a3d3b8a33907cf8b1414c4599e0f0e 100644
|
| --- a/runtime/vm/signal_handler_android.cc
|
| +++ b/runtime/vm/signal_handler_android.cc
|
| @@ -4,8 +4,8 @@
|
|
|
| #include "vm/globals.h"
|
| #include "vm/instructions.h"
|
| -#include "vm/simulator.h"
|
| #include "vm/signal_handler.h"
|
| +#include "vm/simulator.h"
|
| #if defined(HOST_OS_ANDROID)
|
|
|
| namespace dart {
|
| @@ -27,7 +27,6 @@ uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) {
|
| return pc;
|
| }
|
|
|
| -
|
| uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) {
|
| uintptr_t fp = 0;
|
|
|
| @@ -53,7 +52,6 @@ uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) {
|
| return fp;
|
| }
|
|
|
| -
|
| uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) {
|
| uintptr_t sp = 0;
|
|
|
| @@ -71,7 +69,6 @@ uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) {
|
| return sp;
|
| }
|
|
|
| -
|
| uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) {
|
| #if defined(TARGET_ARCH_ARM64) && !defined(USING_SIMULATOR)
|
| return static_cast<uintptr_t>(mcontext.regs[SPREG]);
|
| @@ -80,7 +77,6 @@ uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) {
|
| #endif
|
| }
|
|
|
| -
|
| uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) {
|
| uintptr_t lr = 0;
|
|
|
| @@ -98,7 +94,6 @@ uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) {
|
| return lr;
|
| }
|
|
|
| -
|
| void SignalHandler::InstallImpl(SignalAction action) {
|
| struct sigaction act;
|
| memset(&act, 0, sizeof(act));
|
| @@ -109,7 +104,6 @@ void SignalHandler::InstallImpl(SignalAction action) {
|
| ASSERT(r == 0);
|
| }
|
|
|
| -
|
| void SignalHandler::Remove() {
|
| // Ignore future SIGPROF signals because by default SIGPROF will terminate
|
| // the process and we may have some signals in flight.
|
| @@ -121,7 +115,6 @@ void SignalHandler::Remove() {
|
| ASSERT(r == 0);
|
| }
|
|
|
| -
|
| } // namespace dart
|
|
|
| #endif // defined(HOST_OS_ANDROID)
|
|
|