1 //===-- CPPLanguageRuntime.h
2 //---------------------------------------------------*- C++ -*-===//
4 // The LLVM Compiler Infrastructure
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef liblldb_CPPLanguageRuntime_h_
12 #define liblldb_CPPLanguageRuntime_h_
17 // Other libraries and framework includes
19 #include "lldb/Core/PluginInterface.h"
20 #include "lldb/Target/LanguageRuntime.h"
21 #include "lldb/lldb-private.h"
23 namespace lldb_private {
25 class CPPLanguageRuntime : public LanguageRuntime {
27 ~CPPLanguageRuntime() override;
29 lldb::LanguageType GetLanguageType() const override {
30 return lldb::eLanguageTypeC_plus_plus;
33 virtual bool IsVTableName(const char *name) = 0;
35 bool GetObjectDescription(Stream &str, ValueObject &object) override;
37 bool GetObjectDescription(Stream &str, Value &value,
38 ExecutionContextScope *exe_scope) override;
41 //------------------------------------------------------------------
42 // Classes that inherit from CPPLanguageRuntime can see and modify these
43 //------------------------------------------------------------------
44 CPPLanguageRuntime(Process *process);
47 DISALLOW_COPY_AND_ASSIGN(CPPLanguageRuntime);
50 } // namespace lldb_private
52 #endif // liblldb_CPPLanguageRuntime_h_