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(HOST_OS_WINDOWS) | 7 #if defined(HOST_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 | |
17 uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { | 16 uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { |
18 UNIMPLEMENTED(); | 17 UNIMPLEMENTED(); |
19 return 0; | 18 return 0; |
20 } | 19 } |
21 | 20 |
22 | |
23 uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) { | 21 uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) { |
24 UNIMPLEMENTED(); | 22 UNIMPLEMENTED(); |
25 return 0; | 23 return 0; |
26 } | 24 } |
27 | 25 |
28 | |
29 uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) { | 26 uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) { |
30 UNIMPLEMENTED(); | 27 UNIMPLEMENTED(); |
31 return 0; | 28 return 0; |
32 } | 29 } |
33 | 30 |
34 | |
35 uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) { | 31 uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) { |
36 UNIMPLEMENTED(); | 32 UNIMPLEMENTED(); |
37 return 0; | 33 return 0; |
38 } | 34 } |
39 | 35 |
40 | |
41 void SignalHandler::InstallImpl(SignalAction action) { | 36 void SignalHandler::InstallImpl(SignalAction action) { |
42 UNIMPLEMENTED(); | 37 UNIMPLEMENTED(); |
43 } | 38 } |
44 | 39 |
45 | |
46 void SignalHandler::Remove() { | 40 void SignalHandler::Remove() { |
47 UNIMPLEMENTED(); | 41 UNIMPLEMENTED(); |
48 } | 42 } |
49 | 43 |
50 | |
51 } // namespace dart | 44 } // namespace dart |
52 | 45 |
53 #endif // defined(HOST_OS_WINDOWS) | 46 #endif // defined(HOST_OS_WINDOWS) |
OLD | NEW |