OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #include "vm/signal_handler.h" | 6 #include "vm/signal_handler.h" |
7 #if defined(TARGET_OS_WINDOWS) | 7 #if defined(TARGET_OS_WINDOWS) |
8 | 8 |
9 namespace dart { | 9 namespace dart { |
10 | 10 |
11 uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { | 11 uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { |
12 UNIMPLEMENTED(); | 12 UNIMPLEMENTED(); |
13 return 0; | 13 return 0; |
14 } | 14 } |
15 | 15 |
16 | 16 |
17 uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { | 17 uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { |
18 UNIMPLEMENTED(); | 18 UNIMPLEMENTED(); |
19 return 0; | 19 return 0; |
20 } | 20 } |
21 | 21 |
22 | 22 |
23 uintptr_t SignalHandler::GetStackPointer(const mcontext_t& mcontext) { | 23 uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) { |
| 24 UNIMPLEMENTED(); |
| 25 return 0; |
| 26 } |
| 27 |
| 28 |
| 29 uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) { |
24 UNIMPLEMENTED(); | 30 UNIMPLEMENTED(); |
25 return 0; | 31 return 0; |
26 } | 32 } |
27 | 33 |
28 | 34 |
29 void SignalHandler::Install(SignalAction action) { | 35 void SignalHandler::Install(SignalAction action) { |
30 UNIMPLEMENTED(); | 36 UNIMPLEMENTED(); |
31 } | 37 } |
32 | 38 |
33 | 39 |
34 } // namespace dart | 40 } // namespace dart |
35 | 41 |
36 #endif // defined(TARGET_OS_WINDOWS) | 42 #endif // defined(TARGET_OS_WINDOWS) |
OLD | NEW |