OLD | NEW |
1 // Copyright (c) 2016, 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(HOST_OS_FUCHSIA) | 6 #if defined(HOST_OS_FUCHSIA) |
7 | 7 |
8 #include "vm/signal_handler.h" | 8 #include "vm/signal_handler.h" |
9 | 9 |
10 #include "platform/assert.h" | 10 #include "platform/assert.h" |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { | 14 uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) { |
15 UNIMPLEMENTED(); | 15 UNIMPLEMENTED(); |
16 return 0; | 16 return 0; |
17 } | 17 } |
18 | 18 |
19 | |
20 uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { | 19 uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) { |
21 UNIMPLEMENTED(); | 20 UNIMPLEMENTED(); |
22 return 0; | 21 return 0; |
23 } | 22 } |
24 | 23 |
25 | |
26 uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) { | 24 uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) { |
27 UNIMPLEMENTED(); | 25 UNIMPLEMENTED(); |
28 return 0; | 26 return 0; |
29 } | 27 } |
30 | 28 |
31 | |
32 uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) { | 29 uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) { |
33 UNIMPLEMENTED(); | 30 UNIMPLEMENTED(); |
34 return 0; | 31 return 0; |
35 } | 32 } |
36 | 33 |
37 | |
38 uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) { | 34 uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) { |
39 UNIMPLEMENTED(); | 35 UNIMPLEMENTED(); |
40 return 0; | 36 return 0; |
41 } | 37 } |
42 | 38 |
43 | |
44 void SignalHandler::InstallImpl(SignalAction action) { | 39 void SignalHandler::InstallImpl(SignalAction action) { |
45 UNIMPLEMENTED(); | 40 UNIMPLEMENTED(); |
46 } | 41 } |
47 | 42 |
48 | |
49 void SignalHandler::Remove() { | 43 void SignalHandler::Remove() { |
50 UNIMPLEMENTED(); | 44 UNIMPLEMENTED(); |
51 } | 45 } |
52 | 46 |
53 } // namespace dart | 47 } // namespace dart |
54 | 48 |
55 #endif // defined(HOST_OS_FUCHSIA) | 49 #endif // defined(HOST_OS_FUCHSIA) |
OLD | NEW |