forked from OSchip/llvm-project
[LanguageRuntime] Move CPPLanguageRuntime into a plugin
Summary: This seems better suited to be in a plugin. Reviewers: JDevlieghere, clayborg, jingham, compnerd, labath Subscribers: mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D64599 llvm-svn: 365951
This commit is contained in:
parent
69de1bbe32
commit
e0678ca547
|
@ -44,6 +44,7 @@ add_lldb_library(lldbPluginExpressionParserClang PLUGIN
|
|||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginCPlusPlusLanguage
|
||||
lldbPluginCPPRuntime
|
||||
LINK_COMPONENTS
|
||||
Core
|
||||
ExecutionEngine
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "lldb/Symbol/TypeList.h"
|
||||
#include "lldb/Symbol/Variable.h"
|
||||
#include "lldb/Symbol/VariableList.h"
|
||||
#include "lldb/Target/CPPLanguageRuntime.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/ObjCLanguageRuntime.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
@ -53,6 +52,7 @@
|
|||
#include "clang/AST/RecursiveASTVisitor.h"
|
||||
|
||||
#include "Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
|
||||
#include "Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -28,6 +28,7 @@ add_lldb_library(lldbPluginCPlusPlusLanguage PLUGIN
|
|||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginClangCommon
|
||||
lldbPluginCPPRuntime
|
||||
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "lldb/DataFormatters/TypeSummary.h"
|
||||
#include "lldb/DataFormatters/VectorIterator.h"
|
||||
#include "lldb/Symbol/ClangASTContext.h"
|
||||
#include "lldb/Target/CPPLanguageRuntime.h"
|
||||
#include "lldb/Target/ProcessStructReader.h"
|
||||
#include "lldb/Target/SectionLoadList.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
@ -27,6 +26,8 @@
|
|||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
using namespace lldb_private::formatters;
|
||||
|
|
|
@ -1,2 +1,11 @@
|
|||
add_lldb_library(lldbPluginCPPRuntime PLUGIN
|
||||
CPPLanguageRuntime.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
)
|
||||
|
||||
add_subdirectory(ItaniumABI)
|
||||
#add_subdirectory(MicrosoftABI)
|
||||
|
|
|
@ -6,13 +6,12 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Target/CPPLanguageRuntime.h"
|
||||
#include "lldb/Target/ObjCLanguageRuntime.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "CPPLanguageRuntime.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include "lldb/Symbol/Block.h"
|
|
@ -7,4 +7,5 @@ add_lldb_library(lldbPluginCXXItaniumABI PLUGIN
|
|||
lldbInterpreter
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbPluginCPPRuntime
|
||||
)
|
||||
|
|
|
@ -16,10 +16,11 @@
|
|||
#include "lldb/Breakpoint/BreakpointResolver.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Symbol/Type.h"
|
||||
#include "lldb/Target/CPPLanguageRuntime.h"
|
||||
#include "lldb/Target/LanguageRuntime.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
class ItaniumABILanguageRuntime : public lldb_private::CPPLanguageRuntime {
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Symbol/ClangASTContext.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/CPPLanguageRuntime.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/RegisterContext.h"
|
||||
|
@ -39,6 +38,7 @@
|
|||
|
||||
#include "Plugins/Process/Utility/HistoryThread.h"
|
||||
#include "Plugins/Language/ObjC/NSString.h"
|
||||
#include "Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ add_lldb_library(lldbPluginAppleObjCRuntime PLUGIN
|
|||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginExpressionParserClang
|
||||
lldbPluginCPPRuntime
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -19,10 +19,11 @@
|
|||
#include "llvm/ADT/StringRef.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Expression/LLVMUserExpression.h"
|
||||
#include "lldb/Target/CPPLanguageRuntime.h"
|
||||
#include "lldb/Target/LanguageRuntime.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h"
|
||||
|
||||
namespace lldb_private {
|
||||
namespace lldb_renderscript {
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
add_lldb_library(lldbTarget
|
||||
ABI.cpp
|
||||
CPPLanguageRuntime.cpp
|
||||
ExecutionContext.cpp
|
||||
JITLoader.cpp
|
||||
JITLoaderList.cpp
|
||||
|
|
Loading…
Reference in New Issue