OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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/debuginfo.h" | 5 #include "vm/debuginfo.h" |
6 | 6 |
7 namespace dart { | 7 namespace dart { |
8 | 8 |
9 DebugInfo::DebugInfo() { | 9 DebugInfo::DebugInfo() { |
10 handle_ = NULL; | 10 handle_ = NULL; |
11 } | 11 } |
12 | 12 |
13 | 13 |
14 DebugInfo::~DebugInfo() { | 14 DebugInfo::~DebugInfo() { |
15 } | 15 } |
16 | 16 |
17 | 17 |
18 void DebugInfo::AddCode(uword pc, intptr_t size) { | 18 void DebugInfo::AddCode(uword pc, intptr_t size) { |
19 // Nothing to do as there is no support for this on macos. | 19 // Nothing to do as there is no support for this on macos. |
20 } | 20 } |
21 | 21 |
22 | 22 |
23 void DebugInfo::AddCodeRegion(const char* name, uword pc, intptr_t size) { | 23 void DebugInfo::AddCodeRegion(const char* name, uword pc, intptr_t size) { |
24 // Nothing to do as there is no support for this on macos. | 24 // Nothing to do as there is no support for this on macos. |
25 } | 25 } |
26 | 26 |
27 | 27 |
28 bool DebugInfo::WriteToMemory(ByteArray* region) { | 28 bool DebugInfo::WriteToMemory(ByteBuffer* region) { |
29 // Nothing to do as there is no support for this on macos. | 29 // Nothing to do as there is no support for this on macos. |
30 return false; | 30 return false; |
31 } | 31 } |
32 | 32 |
33 | 33 |
34 DebugInfo* DebugInfo::NewGenerator() { | 34 DebugInfo* DebugInfo::NewGenerator() { |
35 return new DebugInfo(); | 35 return new DebugInfo(); |
36 } | 36 } |
37 | 37 |
38 | 38 |
39 void DebugInfo::RegisterSection(const char* name, | 39 void DebugInfo::RegisterSection(const char* name, |
40 uword entry_point, | 40 uword entry_point, |
41 intptr_t size) { | 41 intptr_t size) { |
42 // Nothing to do as there is no support for this on macos. | 42 // Nothing to do as there is no support for this on macos. |
43 } | 43 } |
44 | 44 |
45 | 45 |
46 void DebugInfo::UnregisterAllSections() { | 46 void DebugInfo::UnregisterAllSections() { |
47 // Nothing to do as there is no support for this on macos. | 47 // Nothing to do as there is no support for this on macos. |
48 } | 48 } |
49 | 49 |
50 } // namespace dart | 50 } // namespace dart |
OLD | NEW |