2010-09-23 10:01:19 +08:00
|
|
|
//===-- CPPLanguageRuntime.cpp -------------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "lldb/Target/CPPLanguageRuntime.h"
|
2012-02-03 09:41:25 +08:00
|
|
|
|
2013-05-18 08:11:21 +08:00
|
|
|
#include <string.h>
|
|
|
|
|
2014-10-25 08:33:55 +08:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
|
|
|
|
2010-09-23 10:01:19 +08:00
|
|
|
#include "lldb/Core/PluginManager.h"
|
2012-02-03 09:41:25 +08:00
|
|
|
#include "lldb/Core/UniqueCStringMap.h"
|
2010-09-28 09:25:32 +08:00
|
|
|
#include "lldb/Target/ExecutionContext.h"
|
2010-09-23 10:01:19 +08:00
|
|
|
|
|
|
|
using namespace lldb;
|
|
|
|
using namespace lldb_private;
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
// Destructor
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
CPPLanguageRuntime::~CPPLanguageRuntime()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
CPPLanguageRuntime::CPPLanguageRuntime (Process *process) :
|
|
|
|
LanguageRuntime (process)
|
|
|
|
{
|
|
|
|
|
2010-09-28 09:25:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
bool
|
2011-04-01 07:01:21 +08:00
|
|
|
CPPLanguageRuntime::GetObjectDescription (Stream &str, ValueObject &object)
|
2010-09-28 09:25:32 +08:00
|
|
|
{
|
|
|
|
// C++ has no generic way to do this.
|
|
|
|
return false;
|
|
|
|
}
|
2010-09-30 08:54:27 +08:00
|
|
|
|
|
|
|
bool
|
|
|
|
CPPLanguageRuntime::GetObjectDescription (Stream &str, Value &value, ExecutionContextScope *exe_scope)
|
|
|
|
{
|
|
|
|
// C++ has no generic way to do this.
|
|
|
|
return false;
|
|
|
|
}
|