Files
sdk/runtime/vm/debuginfo_android.cc
T
jackpal@google.com e060b66a3e Add _android files for building DartVM on Android
Split directory_posix -> directory_(android|linux|macos)
  This allows us to cleanly make Android-specific changes to
  directory_android.cc

Copy all _linux files to _android files and edit as needed to account
for the differences between Linux and Android:

 + getcwd(0, NULL) doesn't work on Android, have to emulate
 + Android doesn't have a '/tmp' directory, have to emulate
 + Android doesn't provide mkdtemp(), have to emulate.
 + Small differences in the available system include files.
 + Use pthread_cond_timedwait_monotonic instead of
   pthread_condattr_setclock

Review URL: https://chromiumcodereview.appspot.com//10826233

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10613 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 23:06:52 +00:00

52 lines
1.1 KiB
C++

// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/debuginfo.h"
namespace dart {
DebugInfo::DebugInfo() {
handle_ = NULL;
}
DebugInfo::~DebugInfo() {
}
void DebugInfo::AddCode(uword pc, intptr_t size) {
// Nothing to do as there is no support for this on Android.
}
void DebugInfo::AddCodeRegion(const char* name, uword pc, intptr_t size) {
// Nothing to do as there is no support for this on Android.
}
bool DebugInfo::WriteToMemory(ByteBuffer* region) {
// Nothing to do as there is no support for this on Android.
return false;
}
DebugInfo* DebugInfo::NewGenerator() {
return new DebugInfo();
}
void DebugInfo::RegisterSection(const char* name,
uword entry_point,
intptr_t size) {
// Nothing to do as there is no support for this on Android.
}
void DebugInfo::UnregisterAllSections() {
// Nothing to do as there is no support for this on Android.
}
} // namespace dart