Index: runtime/vm/signal_handler_linux.cc |
diff --git a/runtime/vm/signal_handler_linux.cc b/runtime/vm/signal_handler_linux.cc |
index 7c522fd8840726dbe959691a00e69da8bfb20466..3712901ceaba4bce7d2bcd99a65d08ec3b981d21 100644 |
--- a/runtime/vm/signal_handler_linux.cc |
+++ b/runtime/vm/signal_handler_linux.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_LINUX) |
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; |
act.sa_handler = NULL; |
@@ -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_LINUX) |