Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: runtime/vm/debuginfo_android.cc

Issue 10826233: Add _android files for building DartVM on Android (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporate reviewer's feedback (asiva, Soren Gjesse) Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/platform/utils_android.h ('k') | runtime/vm/gdbjit_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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
7 namespace dart { 8 namespace dart {
8 9
9 DebugInfo::DebugInfo() { 10 DebugInfo::DebugInfo() {
10 handle_ = NULL; 11 handle_ = NULL;
11 } 12 }
12 13
13 14
14 DebugInfo::~DebugInfo() { 15 DebugInfo::~DebugInfo() {
15 } 16 }
16 17
17 18
18 void DebugInfo::AddCode(uword pc, intptr_t size) { 19 void DebugInfo::AddCode(uword pc, intptr_t size) {
19 // Nothing to do as there is no support for this on macos. 20 // Nothing to do as there is no support for this on Android.
20 } 21 }
21 22
22 23
23 void DebugInfo::AddCodeRegion(const char* name, uword pc, intptr_t size) { 24 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 // Nothing to do as there is no support for this on Android.
25 } 26 }
26 27
27 28
28 bool DebugInfo::WriteToMemory(ByteBuffer* region) { 29 bool DebugInfo::WriteToMemory(ByteBuffer* region) {
29 // Nothing to do as there is no support for this on macos. 30 // Nothing to do as there is no support for this on Android.
30 return false; 31 return false;
31 } 32 }
32 33
33 34
34 DebugInfo* DebugInfo::NewGenerator() { 35 DebugInfo* DebugInfo::NewGenerator() {
35 return new DebugInfo(); 36 return new DebugInfo();
36 } 37 }
37 38
38 39
39 void DebugInfo::RegisterSection(const char* name, 40 void DebugInfo::RegisterSection(const char* name,
40 uword entry_point, 41 uword entry_point,
41 intptr_t size) { 42 intptr_t size) {
42 // Nothing to do as there is no support for this on macos. 43 // Nothing to do as there is no support for this on Android.
43 } 44 }
44 45
45 46
46 void DebugInfo::UnregisterAllSections() { 47 void DebugInfo::UnregisterAllSections() {
47 // Nothing to do as there is no support for this on macos. 48 // Nothing to do as there is no support for this on Android.
48 } 49 }
49 50
50 } // namespace dart 51 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/platform/utils_android.h ('k') | runtime/vm/gdbjit_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698