| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/globals.h" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_OS_FUCHSIA) |
| 7 |
| 6 #include "vm/signal_handler.h" | 8 #include "vm/signal_handler.h" |
| 7 #if defined(TARGET_OS_WINDOWS) | 9 |
| 10 #include "platform/assert.h" |
| 8 | 11 |
| 9 namespace dart { | 12 namespace dart { |
| 10 | 13 |
| 11 uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { | 14 uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { |
| 12 UNIMPLEMENTED(); | 15 UNIMPLEMENTED(); |
| 13 return 0; | 16 return 0; |
| 14 } | 17 } |
| 15 | 18 |
| 16 | 19 |
| 17 uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { | 20 uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 | 43 |
| 41 void SignalHandler::InstallImpl(SignalAction action) { | 44 void SignalHandler::InstallImpl(SignalAction action) { |
| 42 UNIMPLEMENTED(); | 45 UNIMPLEMENTED(); |
| 43 } | 46 } |
| 44 | 47 |
| 45 | 48 |
| 46 void SignalHandler::Remove() { | 49 void SignalHandler::Remove() { |
| 47 UNIMPLEMENTED(); | 50 UNIMPLEMENTED(); |
| 48 } | 51 } |
| 49 | 52 |
| 50 | |
| 51 } // namespace dart | 53 } // namespace dart |
| 52 | 54 |
| 53 #endif // defined(TARGET_OS_WINDOWS) | 55 #endif // defined(TARGET_OS_FUCHSIA) |
| OLD | NEW |