forked from OSchip/llvm-project
[lldb] Move clang-based files out of Symbol
Summary: This change represents the move of ClangASTImporter, ClangASTMetadata, ClangExternalASTSourceCallbacks, ClangUtil, CxxModuleHandler, and TypeSystemClang from lldbSource to lldbPluginExpressionParserClang.h This explicitly removes knowledge of clang internals from lldbSymbol, moving towards a more generic core implementation of lldb. Reviewers: JDevlieghere, davide, aprantl, teemperor, clayborg, labath, jingham, shafik Subscribers: emaste, mgorny, arphaman, jfb, usaxena95, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D73661
This commit is contained in:
parent
f5a71b49be
commit
8be30215fe
|
@ -22,7 +22,6 @@
|
|||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Initialization/SystemInitializerCommon.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h"
|
||||
|
@ -96,6 +95,7 @@
|
|||
#include "Plugins/SymbolVendor/ELF/SymbolVendorELF.h"
|
||||
#include "Plugins/SymbolVendor/wasm/SymbolVendorWasm.h"
|
||||
#include "Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h"
|
||||
#include "Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h"
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "Utility/PPC64LE_DWARF_Registers.h"
|
||||
#include "Utility/PPC64_DWARF_Registers.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
|
@ -19,7 +20,6 @@
|
|||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/Core/ValueObjectMemory.h"
|
||||
#include "lldb/Core/ValueObjectRegister.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/UnwindPlan.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/RegisterContext.h"
|
||||
|
|
|
@ -5,6 +5,7 @@ add_lldb_library(lldbPluginABISysV_ppc64 PLUGIN
|
|||
lldbCore
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbPluginTypeSystemClang
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -19,4 +19,5 @@ add_subdirectory(StructuredData)
|
|||
add_subdirectory(SymbolFile)
|
||||
add_subdirectory(SystemRuntime)
|
||||
add_subdirectory(SymbolVendor)
|
||||
add_subdirectory(TypeSystem)
|
||||
add_subdirectory(UnwindAssembly)
|
||||
|
|
|
@ -11,6 +11,7 @@ add_lldb_library(lldbPluginDynamicLoaderMacOSXDYLD PLUGIN
|
|||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginTypeSystemClang
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Expression/DiagnosticManager.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/ABI.h"
|
||||
|
@ -32,6 +31,7 @@
|
|||
#include "lldb/Utility/State.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
//#define ENABLE_DEBUG_PRINTF // COMMENT THIS LINE OUT PRIOR TO CHECKIN
|
||||
#ifdef ENABLE_DEBUG_PRINTF
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Symbol/SymbolVendor.h"
|
||||
#include "lldb/Target/ABI.h"
|
||||
|
@ -24,6 +23,8 @@
|
|||
#include "DynamicLoaderDarwin.h"
|
||||
#include "DynamicLoaderMacOS.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/ABI.h"
|
||||
|
@ -30,6 +29,7 @@
|
|||
#include "DynamicLoaderMacOSXDYLD.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
//#define ENABLE_DEBUG_PRINTF // COMMENT THIS LINE OUT PRIOR TO CHECKIN
|
||||
#ifdef ENABLE_DEBUG_PRINTF
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include "ASTResultSynthesizer.h"
|
||||
|
||||
#include "ClangASTImporter.h"
|
||||
#include "ClangPersistentVariables.h"
|
||||
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
|
|
|
@ -6,19 +6,24 @@ add_lldb_library(lldbPluginExpressionParserClang PLUGIN
|
|||
ASTResultSynthesizer.cpp
|
||||
ASTStructExtractor.cpp
|
||||
ASTUtils.cpp
|
||||
ClangASTImporter.cpp
|
||||
ClangASTMetadata.cpp
|
||||
ClangASTSource.cpp
|
||||
ClangDeclVendor.cpp
|
||||
ClangExpressionDeclMap.cpp
|
||||
ClangExpressionParser.cpp
|
||||
ClangExpressionSourceCode.cpp
|
||||
ClangExpressionVariable.cpp
|
||||
ClangExternalASTSourceCallbacks.cpp
|
||||
ClangFunctionCaller.cpp
|
||||
ClangHost.cpp
|
||||
ClangModulesDeclVendor.cpp
|
||||
ClangPersistentVariables.cpp
|
||||
ClangUserExpression.cpp
|
||||
ClangUtil.cpp
|
||||
ClangUtilityFunction.cpp
|
||||
CppModuleConfiguration.cpp
|
||||
CxxModuleHandler.cpp
|
||||
IRForTarget.cpp
|
||||
IRDynamicChecks.cpp
|
||||
|
||||
|
@ -35,6 +40,8 @@ add_lldb_library(lldbPluginExpressionParserClang PLUGIN
|
|||
lldbUtility
|
||||
lldbPluginCPlusPlusLanguage
|
||||
lldbPluginCPPRuntime
|
||||
lldbPluginObjCRuntime
|
||||
lldbPluginTypeSystemClang
|
||||
CLANG_LIBS
|
||||
clangAST
|
||||
clangCodeGen
|
||||
|
|
|
@ -6,11 +6,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
|
@ -20,6 +16,11 @@
|
|||
#include "clang/Sema/Sema.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
using namespace lldb_private;
|
|
@ -23,9 +23,10 @@
|
|||
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Symbol/CompilerDeclContext.h"
|
||||
#include "lldb/Symbol/CxxModuleHandler.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/CxxModuleHandler.h"
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
||||
namespace lldb_private {
|
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
|
||||
using namespace lldb_private;
|
|
@ -13,8 +13,6 @@
|
|||
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleList.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/CompilerDeclContext.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/SymbolFile.h"
|
||||
|
@ -24,7 +22,9 @@
|
|||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/RecordLayout.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <set>
|
||||
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "lldb/Symbol/CompilerType.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "clang/AST/ExternalASTSource.h"
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangDeclVendor.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -11,15 +11,15 @@
|
|||
#include "ClangASTSource.h"
|
||||
#include "ClangModulesDeclVendor.h"
|
||||
#include "ClangPersistentVariables.h"
|
||||
#include "ClangUtil.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Address.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/Core/ValueObjectVariable.h"
|
||||
#include "lldb/Expression/Materializer.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/CompilerDecl.h"
|
||||
#include "lldb/Symbol/CompilerDeclContext.h"
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
#include "IRForTarget.h"
|
||||
#include "ModuleDependencyCollector.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Disassembler.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
|
@ -75,7 +76,6 @@
|
|||
#include "lldb/Expression/IRInterpreter.h"
|
||||
#include "lldb/Host/File.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/SymbolVendor.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Language.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Symbol/ClangExternalASTSourceCallbacks.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include "clang/AST/Decl.h"
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef liblldb_ClangExternalASTSourceCallbacks_h_
|
||||
#define liblldb_ClangExternalASTSourceCallbacks_h_
|
||||
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "clang/AST/ExternalASTSource.h"
|
||||
|
||||
namespace lldb_private {
|
|
@ -21,12 +21,12 @@
|
|||
#include "llvm/ExecutionEngine/ExecutionEngine.h"
|
||||
#include "llvm/IR/Module.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectList.h"
|
||||
#include "lldb/Expression/IRExecutionUnit.h"
|
||||
#include "lldb/Interpreter/CommandReturnObject.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/Type.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
#include "ClangModulesDeclVendor.h"
|
||||
#include "ModuleDependencyCollector.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ModuleList.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/SourceModule.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "ClangPersistentVariables.h"
|
||||
#include "ClangASTImporter.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "ClangUserExpression.h"
|
||||
|
||||
#include "ASTResultSynthesizer.h"
|
||||
#include "ClangASTMetadata.h"
|
||||
#include "ClangDiagnostic.h"
|
||||
#include "ClangExpressionDeclMap.h"
|
||||
#include "ClangExpressionParser.h"
|
||||
|
@ -27,6 +28,7 @@
|
|||
#include "ClangPersistentVariables.h"
|
||||
#include "CppModuleConfiguration.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
|
@ -37,8 +39,6 @@
|
|||
#include "lldb/Expression/Materializer.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Symbol/Block.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
// types and decls.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
using namespace clang;
|
||||
using namespace lldb_private;
|
|
@ -6,9 +6,9 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Symbol/CxxModuleHandler.h"
|
||||
#include "Plugins/ExpressionParser/Clang/CxxModuleHandler.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "clang/Sema/Lookup.h"
|
||||
#include "llvm/Support/Error.h"
|
|
@ -9,7 +9,9 @@
|
|||
#include "IRForTarget.h"
|
||||
|
||||
#include "ClangExpressionDeclMap.h"
|
||||
#include "ClangUtil.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "llvm/IR/Constants.h"
|
||||
#include "llvm/IR/DataLayout.h"
|
||||
#include "llvm/IR/InstrTypes.h"
|
||||
|
@ -27,8 +29,6 @@
|
|||
#include "lldb/Core/dwarf.h"
|
||||
#include "lldb/Expression/IRExecutionUnit.h"
|
||||
#include "lldb/Expression/IRInterpreter.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/CompilerType.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
#include "BlockPointer.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangPersistentVariables.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "lldb/Symbol/CompilerType.h"
|
||||
#include "lldb/Symbol/TypeSystem.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
|
|
|
@ -29,6 +29,7 @@ add_lldb_library(lldbPluginCPlusPlusLanguage PLUGIN
|
|||
lldbUtility
|
||||
lldbPluginClangCommon
|
||||
lldbPluginCPPRuntime
|
||||
lldbPluginTypeSystemClang
|
||||
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
|
||||
#include "llvm/Support/ConvertUTF.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/DataFormatters/StringPrinter.h"
|
||||
#include "lldb/DataFormatters/TypeSummary.h"
|
||||
#include "lldb/Host/Time.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/ProcessStructReader.h"
|
||||
#include "lldb/Target/SectionLoadList.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "lldb/DataFormatters/StringPrinter.h"
|
||||
#include "lldb/DataFormatters/TypeSummary.h"
|
||||
#include "lldb/DataFormatters/VectorIterator.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/ProcessStructReader.h"
|
||||
#include "lldb/Target/SectionLoadList.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
@ -27,6 +26,7 @@
|
|||
#include "lldb/Utility/Stream.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "LibCxx.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
||||
using namespace lldb;
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include "LibCxx.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include "LibCxx.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include "LibCxx.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
|
||||
#include "LibStdcpp.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/StringPrinter.h"
|
||||
#include "lldb/DataFormatters/VectorIterator.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include "CF.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Language.h"
|
||||
#include "lldb/Target/StackFrame.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
|
|
@ -31,6 +31,7 @@ add_lldb_library(lldbPluginObjCLanguage PLUGIN
|
|||
lldbUtility
|
||||
lldbPluginAppleObjCRuntime
|
||||
lldbPluginClangCommon
|
||||
lldbPluginTypeSystemClang
|
||||
CLANG_LIBS
|
||||
clangAST
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "Cocoa.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Mangled.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
|
@ -15,7 +16,6 @@
|
|||
#include "lldb/DataFormatters/StringPrinter.h"
|
||||
#include "lldb/DataFormatters/TypeSummary.h"
|
||||
#include "lldb/Host/Time.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Language.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/ProcessStructReader.h"
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
#include "Cocoa.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Language.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
#include "NSDictionary.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Language.h"
|
||||
#include "lldb/Target/StackFrame.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
|
||||
#include "Cocoa.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/ProcessStructReader.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/ProcessStructReader.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
|
@ -23,6 +22,7 @@
|
|||
|
||||
#include "Plugins/Language/ObjC/NSString.h"
|
||||
#include "Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
|
||||
#include "Cocoa.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/DataFormatters/TypeSynthetic.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
#include "NSSet.h"
|
||||
|
||||
#include "Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Language.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
|
||||
#include "NSString.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/DataFormatters/StringPrinter.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/Language.h"
|
||||
#include "lldb/Target/ProcessStructReader.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
|
||||
#include "ObjCLanguage.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/DataFormatters/DataVisualization.h"
|
||||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/CompilerType.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
|
|
|
@ -5,6 +5,7 @@ add_lldb_library(lldbPluginCPPRuntime PLUGIN
|
|||
lldbCore
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbPluginTypeSystemClang
|
||||
)
|
||||
|
||||
add_subdirectory(ItaniumABI)
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
#include "lldb/Symbol/Variable.h"
|
||||
#include "lldb/Symbol/VariableList.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/UniqueCStringMap.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Target/ABI.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
|
|
|
@ -8,4 +8,5 @@ add_lldb_library(lldbPluginCXXItaniumABI PLUGIN
|
|||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbPluginCPPRuntime
|
||||
lldbPluginTypeSystemClang
|
||||
)
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "ItaniumABILanguageRuntime.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Breakpoint/BreakpointLocation.h"
|
||||
#include "lldb/Core/Mangled.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
|
@ -20,7 +21,6 @@
|
|||
#include "lldb/Interpreter/CommandObject.h"
|
||||
#include "lldb/Interpreter/CommandObjectMultiword.h"
|
||||
#include "lldb/Interpreter/CommandReturnObject.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Symbol/SymbolFile.h"
|
||||
#include "lldb/Symbol/TypeList.h"
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include "AppleObjCDeclVendor.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
#ifndef liblldb_AppleObjCDeclVendor_h_
|
||||
#define liblldb_AppleObjCDeclVendor_h_
|
||||
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangDeclVendor.h"
|
||||
#include "Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "lldb/DataFormatters/FormattersHelpers.h"
|
||||
#include "lldb/Expression/DiagnosticManager.h"
|
||||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
@ -38,6 +37,8 @@
|
|||
#include "lldb/Utility/StreamString.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
using namespace lldb;
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Breakpoint/BreakpointLocation.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Expression/UtilityFunction.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "lldb/Symbol/CompilerType.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/ClangForward.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
|
@ -35,7 +36,6 @@
|
|||
#include "lldb/Interpreter/CommandReturnObject.h"
|
||||
#include "lldb/Interpreter/OptionArgParser.h"
|
||||
#include "lldb/Interpreter/OptionValueBoolean.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Symbol/TypeList.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "AppleObjCTrampolineHandler.h"
|
||||
#include "AppleThreadPlanStepThroughObjCTrampoline.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Breakpoint/StoppointCallbackContext.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
|
@ -18,7 +19,6 @@
|
|||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Expression/UserExpression.h"
|
||||
#include "lldb/Expression/UtilityFunction.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Target/ABI.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
#include "AppleObjCTypeEncodingParser.h"
|
||||
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/CompilerType.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
|
|
@ -19,6 +19,7 @@ add_lldb_library(lldbPluginAppleObjCRuntime PLUGIN
|
|||
lldbUtility
|
||||
lldbPluginExpressionParserClang
|
||||
lldbPluginCPPRuntime
|
||||
lldbPluginTypeSystemClang
|
||||
CLANG_LIBS
|
||||
clangAST
|
||||
LINK_COMPONENTS
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
|
||||
#include "ObjCLanguageRuntime.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/MappedHash.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/SymbolContext.h"
|
||||
#include "lldb/Symbol/SymbolFile.h"
|
||||
#include "lldb/Symbol/Type.h"
|
||||
|
|
|
@ -7,4 +7,5 @@ add_lldb_library(lldbPluginPlatformPOSIX PLUGIN
|
|||
lldbHost
|
||||
lldbInterpreter
|
||||
lldbTarget
|
||||
lldbPluginTypeSystemClang
|
||||
)
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "PlatformPOSIX.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
|
@ -22,7 +23,6 @@
|
|||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Host/ProcessLaunchInfo.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Target/DynamicLoader.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
|
|
@ -53,6 +53,7 @@ add_lldb_library(lldbPluginSymbolFileDWARF PLUGIN
|
|||
lldbPluginObjCLanguage
|
||||
lldbPluginCPlusPlusLanguage
|
||||
lldbPluginExpressionParserClang
|
||||
lldbPluginTypeSystemClang
|
||||
CLANG_LIBS
|
||||
clangAST
|
||||
clangBasic
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
#include "SymbolFileDWARFDebugMap.h"
|
||||
#include "UniqueDWARFASTType.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/Language/ObjC/ObjCLanguage.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
|
|
|
@ -21,8 +21,9 @@
|
|||
#include "LogChannelDWARF.h"
|
||||
#include "lldb/Core/ClangForward.h"
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
#include "lldb/Interpreter/OptionValueFileSpecList.h"
|
||||
#include "lldb/Interpreter/OptionValueProperties.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Block.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/CompilerDecl.h"
|
||||
#include "lldb/Symbol/CompilerDeclContext.h"
|
||||
|
|
|
@ -14,6 +14,7 @@ add_lldb_library(lldbPluginSymbolFileNativePDB PLUGIN
|
|||
lldbCore
|
||||
lldbSymbol
|
||||
lldbUtility
|
||||
lldbPluginTypeSystemClang
|
||||
CLANG_LIBS
|
||||
clangAST
|
||||
clangLex
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
|
||||
#include "llvm/Demangle/MicrosoftDemangle.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
|
||||
#include "PdbIndex.h"
|
||||
#include "PdbSymUid.h"
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/StreamBuffer.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/LineTable.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
#include "PdbSymUid.h"
|
||||
#include "PdbUtil.h"
|
||||
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Type.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef LLDB_PLUGINS_SYMBOLFILE_NATIVEPDB_UDTRECORDCOMPLETER_H
|
||||
#define LLDB_PLUGINS_SYMBOLFILE_NATIVEPDB_UDTRECORDCOMPLETER_H
|
||||
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "llvm/DebugInfo/CodeView/CVRecord.h"
|
||||
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
|
||||
#include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h"
|
||||
|
|
|
@ -8,6 +8,7 @@ add_lldb_library(lldbPluginSymbolFilePDB PLUGIN
|
|||
lldbPluginSymbolFileNativePDB
|
||||
lldbSymbol
|
||||
lldbUtility
|
||||
lldbPluginTypeSystemClang
|
||||
CLANG_LIBS
|
||||
clangAST
|
||||
clangLex
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/Declaration.h"
|
||||
#include "lldb/Symbol/SymbolFile.h"
|
||||
#include "lldb/Symbol/TypeMap.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include "lldb/lldb-forward.h"
|
||||
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
|
||||
class SymbolFilePDB;
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
#include "clang/Lex/Lexer.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/LineTable.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
|
|
|
@ -8,13 +8,12 @@
|
|||
|
||||
#include "AppleGetItemInfoHandler.h"
|
||||
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Expression/DiagnosticManager.h"
|
||||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Expression/UtilityFunction.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
|
|
@ -8,13 +8,12 @@
|
|||
|
||||
#include "AppleGetPendingItemsHandler.h"
|
||||
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Expression/DiagnosticManager.h"
|
||||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Expression/UtilityFunction.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
|
||||
#include "AppleGetQueuesHandler.h"
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Expression/DiagnosticManager.h"
|
||||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Expression/UtilityFunction.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
|
|
@ -8,14 +8,13 @@
|
|||
|
||||
#include "AppleGetThreadItemInfoHandler.h"
|
||||
|
||||
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Expression/DiagnosticManager.h"
|
||||
#include "lldb/Expression/Expression.h"
|
||||
#include "lldb/Expression/FunctionCaller.h"
|
||||
#include "lldb/Expression/UtilityFunction.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
|
|
@ -14,4 +14,5 @@ add_lldb_library(lldbPluginSystemRuntimeMacOSX PLUGIN
|
|||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginProcessUtility
|
||||
lldbPluginTypeSystemClang
|
||||
)
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Plugins/Process/Utility/HistoryThread.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Breakpoint/StoppointCallbackContext.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Symbol/SymbolContext.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
add_subdirectory(Clang)
|
|
@ -0,0 +1,20 @@
|
|||
add_lldb_library(lldbPluginTypeSystemClang PLUGIN
|
||||
TypeSystemClang.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginExpressionParserClang
|
||||
lldbPluginSymbolFileDWARF
|
||||
lldbPluginSymbolFilePDB
|
||||
lldbPluginObjCRuntime
|
||||
CLANG_LIBS
|
||||
clangAST
|
||||
clangBasic
|
||||
clangFrontend
|
||||
clangSema
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "TypeSystemClang.h"
|
||||
|
||||
#include "llvm/Support/FormatAdapters.h"
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
|
@ -39,9 +39,13 @@
|
|||
#include "llvm/Support/Signals.h"
|
||||
#include "llvm/Support/Threading.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangFunctionCaller.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangPersistentVariables.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUserExpression.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtilityFunction.h"
|
||||
#include "lldb/Utility/ArchSpec.h"
|
||||
#include "lldb/Utility/Flags.h"
|
||||
|
@ -52,10 +56,6 @@
|
|||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/ThreadSafeDenseMap.h"
|
||||
#include "lldb/Core/UniqueCStringMap.h"
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "lldb/Symbol/ClangExternalASTSourceCallbacks.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Symbol/SymbolFile.h"
|
||||
#include "lldb/Target/ExecutionContext.h"
|
|
@ -7,17 +7,11 @@ endif()
|
|||
add_lldb_library(lldbSymbol
|
||||
ArmUnwindInfo.cpp
|
||||
Block.cpp
|
||||
TypeSystemClang.cpp
|
||||
ClangASTImporter.cpp
|
||||
ClangASTMetadata.cpp
|
||||
ClangExternalASTSourceCallbacks.cpp
|
||||
ClangUtil.cpp
|
||||
CompactUnwindInfo.cpp
|
||||
CompileUnit.cpp
|
||||
CompilerDecl.cpp
|
||||
CompilerDeclContext.cpp
|
||||
CompilerType.cpp
|
||||
CxxModuleHandler.cpp
|
||||
DWARFCallFrameInfo.cpp
|
||||
DebugMacros.cpp
|
||||
Declaration.cpp
|
||||
|
@ -51,16 +45,7 @@ add_lldb_library(lldbSymbol
|
|||
lldbHost
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginExpressionParserClang
|
||||
lldbPluginSymbolFileDWARF
|
||||
lldbPluginSymbolFilePDB
|
||||
lldbPluginObjCLanguage
|
||||
lldbPluginObjCRuntime
|
||||
|
||||
CLANG_LIBS
|
||||
clangAST
|
||||
clangBasic
|
||||
clangFrontend
|
||||
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Initialization/SystemInitializerCommon.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h"
|
||||
|
@ -85,6 +84,7 @@
|
|||
#include "Plugins/SymbolVendor/ELF/SymbolVendorELF.h"
|
||||
#include "Plugins/SymbolVendor/wasm/SymbolVendorWasm.h"
|
||||
#include "Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h"
|
||||
#include "Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h"
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "SystemInitializerTest.h"
|
||||
|
||||
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARF.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "lldb/Breakpoint/BreakpointLocation.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
|
@ -18,7 +19,6 @@
|
|||
#include "lldb/Initialization/SystemLifetimeManager.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
#include "lldb/Interpreter/CommandReturnObject.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/LineTable.h"
|
||||
#include "lldb/Symbol/SymbolFile.h"
|
||||
|
|
|
@ -8,6 +8,7 @@ add_lldb_unittest(ExpressionTests
|
|||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbPluginExpressionParserClang
|
||||
lldbPluginTypeSystemClang
|
||||
lldbUtility
|
||||
lldbUtilityHelpers
|
||||
LLVMTestingSupport
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "TestingSupport/SubsystemRAII.h"
|
||||
#include "TestingSupport/Symbol/ClangTestUtils.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/lldb-defines.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ add_lldb_unittest(SymbolTests
|
|||
lldbPluginObjectFileMachO
|
||||
lldbPluginSymbolFileDWARF
|
||||
lldbPluginSymbolFileSymtab
|
||||
lldbPluginTypeSystemClang
|
||||
LLVMTestingSupport
|
||||
)
|
||||
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "TestingSupport/SubsystemRAII.h"
|
||||
#include "TestingSupport/Symbol/ClangTestUtils.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangASTImporter.h"
|
||||
#include "lldb/Symbol/ClangASTMetadata.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/Declaration.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
#include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
|
||||
#include "Plugins/SymbolFile/DWARF/DWARFASTParserClang.h"
|
||||
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARF.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "TestingSupport/SubsystemRAII.h"
|
||||
#include "TestingSupport/TestUtilities.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "TestingSupport/SubsystemRAII.h"
|
||||
#include "TestingSupport/Symbol/ClangTestUtils.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/ClangUtil.h"
|
||||
#include "lldb/Symbol/Declaration.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
|
|
|
@ -9,6 +9,7 @@ add_lldb_unittest(SymbolFileDWARFTests
|
|||
lldbPluginObjectFilePECOFF
|
||||
lldbPluginSymbolFileDWARF
|
||||
lldbPluginSymbolFilePDB
|
||||
lldbPluginTypeSystemClang
|
||||
lldbUtilityHelpers
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.h"
|
||||
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARF.h"
|
||||
#include "Plugins/SymbolFile/PDB/SymbolFilePDB.h"
|
||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
|
||||
#include "TestingSupport/SubsystemRAII.h"
|
||||
#include "TestingSupport/TestUtilities.h"
|
||||
#include "lldb/Core/Address.h"
|
||||
|
@ -27,7 +28,6 @@
|
|||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Symbol/TypeSystemClang.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/LineTable.h"
|
||||
#include "lldb/Utility/ArchSpec.h"
|
||||
|
@ -35,8 +35,6 @@
|
|||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue