| Index: runtime/vm/signal_handler_android.cc
|
| diff --git a/runtime/vm/signal_handler_android.cc b/runtime/vm/signal_handler_android.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f749ba114c8b158e37e645594896abcfc4c514db
|
| --- /dev/null
|
| +++ b/runtime/vm/signal_handler_android.cc
|
| @@ -0,0 +1,45 @@
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +#include "vm/globals.h"
|
| +#include "vm/signal_handler.h"
|
| +#if defined(TARGET_OS_ANDROID)
|
| +
|
| +namespace dart {
|
| +
|
| +uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) {
|
| + UNIMPLEMENTED();
|
| +}
|
| +
|
| +
|
| +uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) {
|
| + UNIMPLEMENTED();
|
| +}
|
| +
|
| +
|
| +uintptr_t SignalHandler::GetStackPointer(const mcontext_t& mcontext) {
|
| + UNIMPLEMENTED();
|
| +}
|
| +
|
| +
|
| +void SignalHandler::Install(SignalAction action) {
|
| + UNIMPLEMENTED();
|
| +}
|
| +
|
| +
|
| +ScopedSignalBlocker::ScopedSignalBlocker() {
|
| + sigset_t set;
|
| + sigemptyset(&set);
|
| + sigaddset(&set, SIGPROF);
|
| + pthread_sigmask(SIG_SETMASK, &set, &old_);
|
| +}
|
| +
|
| +
|
| +ScopedSignalBlocker::~ScopedSignalBlocker() {
|
| + pthread_sigmask(SIG_SETMASK, &old_, NULL);
|
| +}
|
| +
|
| +} // namespace dart
|
| +
|
| +#endif // defined(TARGET_OS_ANDROID)
|
|
|