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