Update build infrastructure for LLDB 3.8

This commit is contained in:
Ed Maste 2016-01-04 00:02:58 +00:00
parent 1b08e3c074
commit 0a97e59728
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/clang380-import/; revision=293124
20 changed files with 164 additions and 51 deletions

View File

@ -143,12 +143,16 @@ SUBDIR+=liblldb \
liblldbPluginDisassemblerLLVM \
liblldbPluginDynamicLoaderStatic \
liblldbPluginDynamicLoaderPosixDYLD \
liblldbPluginExpressionParserClang \
liblldbPluginExpressionParserGo \
liblldbPluginInstructionARM \
liblldbPluginInstructionARM64 \
liblldbPluginInstructionMIPS \
liblldbPluginInstructionMIPS64 \
liblldbPluginInstrumentationRuntimeAddressSanitizer \
liblldbPluginJITLoaderGDB \
liblldbPluginLanguageCPlusPlus \
liblldbPluginLanguageObjC \
liblldbPluginMemoryHistoryASan \
liblldbPluginObjectContainerBSDArchive \
liblldbPluginObjectFileELF \
@ -160,6 +164,7 @@ SUBDIR+=liblldb \
liblldbPluginProcessGDBRemote \
liblldbPluginProcessPOSIX \
liblldbPluginProcessUtility \
liblldbPluginScriptInterpreterNone \
liblldbPluginSymbolFileDWARF \
liblldbPluginSymbolFileSymtab \
liblldbPluginSymbolVendorELF \

View File

@ -35,7 +35,6 @@ SRCS= Address.cpp \
FormatEntity.cpp \
History.cpp \
IOHandler.cpp \
Language.cpp \
Listener.cpp \
Log.cpp \
Logging.cpp \
@ -69,6 +68,7 @@ SRCS= Address.cpp \
ValueObjectCast.cpp \
ValueObjectChild.cpp \
ValueObjectConstResult.cpp \
ValueObjectConstResultCast.cpp \
ValueObjectConstResultChild.cpp \
ValueObjectConstResultImpl.cpp \
ValueObjectDynamicValue.cpp \

View File

@ -5,24 +5,14 @@
LIB= lldbDataFormatters
SRCDIR= tools/lldb/source/DataFormatters
SRCS= CF.cpp \
Cocoa.cpp \
CXXFormatterFunctions.cpp \
SRCS= CXXFunctionPointer.cpp \
DataVisualization.cpp \
DumpValueObjectOptions.cpp \
FormatCache.cpp \
FormatClasses.cpp \
FormatManager.cpp \
LibCxx.cpp \
LibCxxInitializerList.cpp \
LibCxxList.cpp \
LibCxxMap.cpp \
LibCxxUnorderedMap.cpp \
LibCxxVector.cpp \
LibStdcpp.cpp \
NSArray.cpp \
NSDictionary.cpp \
NSIndexPath.cpp \
NSSet.cpp \
FormattersHelpers.cpp \
LanguageCategory.cpp \
StringPrinter.cpp \
TypeCategory.cpp \
TypeCategoryMap.cpp \

View File

@ -5,28 +5,23 @@
LIB= lldbExpression
SRCDIR= tools/lldb/source/Expression
SRCS= ASTDumper.cpp \
ASTResultSynthesizer.cpp \
ASTStructExtractor.cpp \
ClangASTSource.cpp \
ClangExpressionDeclMap.cpp \
ClangExpressionParser.cpp \
ClangExpressionVariable.cpp \
ClangFunction.cpp \
ClangModulesDeclVendor.cpp \
ClangPersistentVariables.cpp \
ClangUserExpression.cpp \
ClangUtilityFunction.cpp \
DWARFExpression.cpp \
SRCS= DWARFExpression.cpp \
Expression.cpp \
ExpressionSourceCode.cpp \
ExpressionVariable.cpp \
FunctionCaller.cpp \
IRDynamicChecks.cpp \
IRExecutionUnit.cpp \
IRForTarget.cpp \
IRInterpreter.cpp \
IRMemoryMap.cpp \
Materializer.cpp
LLVMUserExpression.cpp \
Materializer.cpp \
REPL.cpp \
UserExpression.cpp \
UtilityFunction.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= Attributes \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList \

View File

@ -10,6 +10,7 @@ SRCS= Condition.cpp \
File.cpp \
FileSpec.cpp \
FileSystem.cpp \
GetOptInc.cpp \
Host.cpp \
HostInfoBase.cpp \
HostNativeThreadBase.cpp \
@ -28,11 +29,13 @@ SRCS= Condition.cpp \
SoftwareBreakpoint.cpp \
StringConvert.cpp \
Symbols.cpp \
TCPSocket.cpp \
Terminal.cpp \
ThisThread.cpp \
ThreadLauncher.cpp \
TimeValue.cpp \
XML.cpp
XML.cpp \
UDPSocket.cpp
TGHDRS= AttrList \
Attrs \

View File

@ -6,6 +6,7 @@ LIB= lldbHostPOSIX
SRCDIR= tools/lldb/source/Host/posix
SRCS= ConnectionFileDescriptorPosix.cpp \
DomainSocket.cpp \
FileSystem.cpp \
HostInfoPosix.cpp \
HostProcessPosix.cpp \

View File

@ -9,11 +9,9 @@ SRCS= SystemInitializer.cpp \
SystemInitializerCommon.cpp \
SystemLifetimeManager.cpp
#TGHDRS= AttrList \
# Attrs \
# DiagnosticCommonKinds \
# DeclNodes \
# StmtNodes \
# CommentCommandList
TGHDRS= CommentCommandList \
DeclNodes \
DiagnosticCommonKinds \
StmtNodes
.include "../lldb.lib.mk"

View File

@ -47,10 +47,7 @@ SRCS= Args.cpp \
OptionGroupWatchpoint.cpp \
Options.cpp \
Property.cpp \
PythonDataObjects.cpp \
ScriptInterpreter.cpp \
ScriptInterpreterNone.cpp \
ScriptInterpreterPython.cpp
ScriptInterpreter.cpp
TGHDRS= AttrList \
Attrs \

View File

@ -0,0 +1,34 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbPluginExpressionParserClang
SRCDIR= tools/lldb/source/Plugins/ExpressionParser/Clang
SRCS= ASTDumper.cpp \
ASTResultSynthesizer.cpp \
ASTStructExtractor.cpp \
ClangASTSource.cpp \
ClangExpressionDeclMap.cpp \
ClangExpressionParser.cpp \
ClangExpressionVariable.cpp \
ClangFunctionCaller.cpp \
ClangModulesDeclVendor.cpp \
ClangPersistentVariables.cpp \
ClangUserExpression.cpp \
ClangUtilityFunction.cpp \
IRForTarget.cpp
TGHDRS= Attributes \
AttrList \
AttrParsedAttrList \
Attrs \
CommentCommandList \
DeclNodes \
DiagnosticCommonKinds \
DiagnosticFrontendKinds \
DiagnosticSemaKinds \
Intrinsics \
StmtNodes
.include "../lldb.lib.mk"

View File

@ -0,0 +1,12 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbPluginExpressionParserGo
SRCDIR= tools/lldb/source/Plugins/ExpressionParser/Go
SRCS= GoLexer.cpp \
GoParser.cpp \
GoUserExpression.cpp
.include "../lldb.lib.mk"

View File

@ -0,0 +1,23 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbPluginLanguageCPlusPlus
SRCDIR= tools/lldb/source/Plugins/Language/CPlusPlus/
SRCS= CPlusPlusLanguage.cpp \
CxxStringTypes.cpp \
LibCxx.cpp \
LibCxxInitializerList.cpp \
LibCxxList.cpp \
LibCxxMap.cpp \
LibCxxUnorderedMap.cpp \
LibCxxVector.cpp \
LibStdcpp.cpp
TGHDRS= CommentCommandList \
DeclNodes \
DiagnosticCommonKinds \
StmtNodes
.include "../lldb.lib.mk"

View File

@ -0,0 +1,27 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbPluginLanguageObjC
SRCDIR= tools/lldb/source/Plugins/Language/ObjC/
SRCS= CF.cpp \
Cocoa.cpp \
CoreMedia.cpp \
NSArray.cpp \
NSDictionary.cpp \
NSError.cpp \
NSException.cpp \
NSIndexPath.cpp \
NSSet.cpp \
NSString.cpp \
ObjCLanguage.cpp
TGHDRS= AttrList \
Attrs \
CommentCommandList \
DeclNodes \
DiagnosticCommonKinds \
StmtNodes
.include "../lldb.lib.mk"

View File

@ -7,14 +7,13 @@ LIB= lldbPluginProcessFreeBSD
# include_directories(.)
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POSIX
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Utility
SRCDIR= tools/lldb/source/Plugins/Process/FreeBSD
SRCS= FreeBSDThread.cpp \
ProcessFreeBSD.cpp \
ProcessMonitor.cpp \
POSIXStopInfo.cpp \
POSIXThread.cpp \
ProcessPOSIX.cpp \
RegisterContextPOSIXProcessMonitor_arm.cpp \
RegisterContextPOSIXProcessMonitor_arm64.cpp \
RegisterContextPOSIXProcessMonitor_mips64.cpp \

View File

@ -13,6 +13,7 @@ SRCS= DynamicRegisterInfo.cpp \
InferiorCallPOSIX.cpp \
LinuxSignals.cpp \
MipsLinuxSignals.cpp \
NetBSDSignals.cpp \
RegisterContextDarwin_arm.cpp \
RegisterContextDarwin_arm64.cpp \
RegisterContextDarwin_i386.cpp \

View File

@ -0,0 +1,10 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbPluginScriptInterpreterNone
SRCDIR= tools/lldb/source/Plugins/ScriptInterpreter/None
SRCS= ScriptInterpreterNone.cpp
.include "../lldb.lib.mk"

View File

@ -5,7 +5,11 @@
LIB= lldbPluginSymbolFileDWARF
SRCDIR= tools/lldb/source/Plugins/SymbolFile/DWARF
SRCS= DWARFAbbreviationDeclaration.cpp \
SRCS= DIERef.cpp \
DWARFAbbreviationDeclaration.cpp \
DWARFASTParserClang.cpp \
DWARFASTParserGo.cpp \
DWARFAttribute.cpp \
DWARFCompileUnit.cpp \
DWARFDataExtractor.cpp \
DWARFDebugAbbrev.cpp \
@ -13,6 +17,7 @@ SRCS= DWARFAbbreviationDeclaration.cpp \
DWARFDebugArangeSet.cpp \
DWARFDebugInfo.cpp \
DWARFDebugInfoEntry.cpp \
DWARFDebugMacro.cpp \
DWARFDebugLine.cpp \
DWARFDebugMacinfo.cpp \
DWARFDebugMacinfoEntry.cpp \
@ -21,13 +26,14 @@ SRCS= DWARFAbbreviationDeclaration.cpp \
DWARFDebugRanges.cpp \
DWARFDeclContext.cpp \
DWARFDefines.cpp \
DWARFDIE.cpp \
DWARFDIECollection.cpp \
DWARFFormValue.cpp \
DWARFLocationDescription.cpp \
DWARFLocationList.cpp \
LogChannelDWARF.cpp \
HashedNameToDIE.cpp \
NameToDIE.cpp \
SymbolFileDWARF.cpp \
SymbolFileDWARFDwo.cpp \
SymbolFileDWARFDebugMap.cpp \
UniqueDWARFASTType.cpp

View File

@ -5,19 +5,23 @@
LIB= lldbSymbol
SRCDIR= tools/lldb/source/Symbol
SRCS= Block.cpp \
SRCS= ArmUnwindInfo.cpp \
Block.cpp \
ClangASTContext.cpp \
ClangASTImporter.cpp \
ClangASTType.cpp \
ClangExternalASTSourceCallbacks.cpp \
ClangExternalASTSourceCommon.cpp \
ClangNamespaceDecl.cpp \
CompilerDecl.cpp \
CompilerDeclContext.cpp \
CompilerType.cpp \
CompactUnwindInfo.cpp \
DebugMacros.cpp \
CompileUnit.cpp \
Declaration.cpp \
DWARFCallFrameInfo.cpp \
Function.cpp \
FuncUnwinders.cpp \
GoASTContext.cpp \
LineEntry.cpp \
LineTable.cpp \
ObjectFile.cpp \
@ -28,6 +32,8 @@ SRCS= Block.cpp \
Symtab.cpp \
Type.cpp \
TypeList.cpp \
TypeMap.cpp \
TypeSystem.cpp \
UnwindPlan.cpp \
UnwindTable.cpp \
Variable.cpp \

View File

@ -15,6 +15,7 @@ SRCS= ABI.cpp \
InstrumentationRuntimeStopInfo.cpp \
JITLoader.cpp \
JITLoaderList.cpp \
Language.cpp \
LanguageRuntime.cpp \
Memory.cpp \
MemoryHistory.cpp \

View File

@ -20,6 +20,7 @@ SRCS= ARM64_DWARF_Registers.cpp \
StringExtractor.cpp \
StringExtractorGDBRemote.cpp \
StringLexer.cpp \
TaskPool.cpp \
TimeSpecTimeout.cpp \
UriParser.cpp

View File

@ -46,12 +46,16 @@ LLDB_LIBS=\
lldbPluginABISysV_x86_64 \
lldbPluginCXXItaniumABI \
lldbPluginDisassemblerLLVM \
lldbPluginExpressionParserClang \
lldbPluginExpressionParserGo \
lldbPluginInstructionARM \
lldbPluginInstructionARM64 \
lldbPluginInstructionMIPS \
lldbPluginInstructionMIPS64 \
lldbPluginInstrumentationRuntimeAddressSanitizer \
lldbPluginJITLoaderGDB \
lldbPluginLanguageCPlusPlus \
lldbPluginLanguageObjC \
lldbPluginSymbolFileDWARF \
lldbPluginSymbolFileSymtab \
lldbPluginDynamicLoaderStatic \
@ -60,6 +64,7 @@ LLDB_LIBS=\
lldbPluginObjectContainerBSDArchive \
lldbPluginObjectFileELF \
lldbPluginObjectFileJIT \
lldbPluginScriptInterpreterNone \
lldbPluginSymbolVendorELF \
lldbPluginPlatformFreeBSD \
lldbPluginPlatformGDB \
@ -146,7 +151,6 @@ LIBDEPS=\
llvmprofiledata \
llvminstcombine \
llvmtransformutils \
llvmipa \
llvmanalysis \
llvminstrumentation \
llvmx86desc \