Update build for LLDB snapshot at upstream rev 216948

Sponsored by:	DARPA, AFRL
This commit is contained in:
Ed Maste 2014-11-26 17:40:03 +00:00
parent 2691e63cfa
commit 1a559761c7
23 changed files with 148 additions and 29 deletions

View File

@ -112,6 +112,7 @@ SUBDIR+=liblldb \
liblldbExpression \
liblldbHostCommon \
liblldbHostFreeBSD \
liblldbHostPOSIX \
liblldbInterpreter \
liblldbSymbol \
liblldbTarget \
@ -123,8 +124,11 @@ SUBDIR+=liblldb \
liblldbPluginDynamicLoaderStatic \
liblldbPluginDynamicLoaderPosixDYLD \
liblldbPluginInstructionARM \
liblldbPluginInstructionARM64 \
liblldbPluginJITLoaderGDB \
liblldbPluginObjectContainerBSDArchive \
liblldbPluginObjectFileELF \
liblldbPluginObjectFileJIT \
liblldbPluginPlatformFreeBSD \
liblldbPluginPlatformGDB \
liblldbPluginProcessElfCore \

View File

@ -10,7 +10,9 @@ SRCDIR= tools/lldb/source
SRCS= lldb.cpp \
lldb-log.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -46,16 +46,20 @@ SRCS= SBAddress.cpp \
SBThread.cpp \
SBType.cpp \
SBTypeCategory.cpp \
SBTypeEnumMember.cpp \
SBTypeFilter.cpp \
SBTypeFormat.cpp \
SBTypeNameSpecifier.cpp \
SBTypeSummary.cpp \
SBTypeSynthetic.cpp \
SBUnixSignals.cpp \
SBValue.cpp \
SBValueList.cpp \
SBWatchpoint.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -27,7 +27,9 @@ SRCS= Breakpoint.cpp \
WatchpointList.cpp \
WatchpointOptions.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -34,7 +34,9 @@ SRCS= CommandCompletions.cpp \
CommandObjectWatchpoint.cpp \
CommandObjectWatchpointCommand.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -29,6 +29,7 @@ SRCS= Address.cpp \
EmulateInstruction.cpp \
Error.cpp \
Event.cpp \
FastDemangle.cpp \
FileLineResolver.cpp \
FileSpecList.cpp \
History.cpp \
@ -56,6 +57,7 @@ SRCS= Address.cpp \
StreamGDBRemote.cpp \
StreamString.cpp \
StringList.cpp \
StructuredData.cpp \
Timer.cpp \
UserID.cpp \
UserSettingsController.cpp \
@ -75,7 +77,9 @@ SRCS= Address.cpp \
ValueObjectVariable.cpp \
VMRange.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -27,7 +27,9 @@ SRCS= CF.cpp \
TypeSynthetic.cpp \
ValueObjectPrinter.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -6,20 +6,26 @@ LIB= lldbHostCommon
SRCDIR= tools/lldb/source/Host/common
SRCS= Condition.cpp \
DynamicLibrary.cpp \
Editline.cpp \
File.cpp \
FileSpec.cpp \
Host.cpp \
HostInfoBase.cpp \
IOObject.cpp \
Mutex.cpp \
OptionParser.cpp \
Pipe.cpp \
ProcessRunLock.cpp \
Socket.cpp \
SocketAddress.cpp \
SoftwareBreakpoint.cpp \
Symbols.cpp \
Terminal.cpp \
TimeValue.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -5,7 +5,8 @@
LIB= lldbHostFreeBSD
SRCDIR= tools/lldb/source/Host/freebsd
SRCS= Host.cpp
SRCS= Host.cpp \
HostInfoFreeBSD.cpp
TGHDRS= DiagnosticCommonKinds \
DeclNodes \

View File

@ -0,0 +1,12 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbHostPOSIX
SRCDIR= tools/lldb/source/Host/posix
SRCS= FileSystem.cpp \
HostInfoPosix.cpp \
HostProcessPosix.cpp
.include "../lldb.lib.mk"

View File

@ -11,6 +11,7 @@ SRCS= Args.cpp \
CommandObject.cpp \
CommandObjectRegexCommand.cpp \
CommandObjectScript.cpp \
CommandOptionValidators.cpp \
CommandReturnObject.cpp \
OptionGroupArchitecture.cpp \
OptionGroupBoolean.cpp \
@ -48,7 +49,9 @@ SRCS= Args.cpp \
ScriptInterpreterNone.cpp \
ScriptInterpreterPython.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -0,0 +1,10 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbPluginInstructionARM64
SRCDIR= tools/lldb/source/Plugins/Instruction/ARM64
SRCS= EmulateInstructionARM64.cpp
.include "../lldb.lib.mk"

View File

@ -0,0 +1,15 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbPluginJITLoaderGDB
SRCDIR= tools/lldb/source/Plugins/JITLoader/GDB
SRCS= JITLoaderGDB.cpp
TGHDRS= DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
.include "../lldb.lib.mk"

View File

@ -0,0 +1,17 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= lldbPluginObjectFileJIT
SRCDIR= tools/lldb/source/Plugins/ObjectFile/JIT
SRCS= ObjectFileJIT.cpp
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList
.include "../lldb.lib.mk"

View File

@ -7,7 +7,9 @@ LIB= lldbPluginPlatformFreeBSD
SRCDIR= tools/lldb/source/Plugins/Platform/FreeBSD
SRCS= PlatformFreeBSD.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -7,7 +7,9 @@ LIB= lldbPluginPlatformGDB
SRCDIR= tools/lldb/source/Plugins/Platform/gdb-server
SRCS= PlatformRemoteGDBServer.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -13,7 +13,9 @@ SRCS= GDBRemoteCommunication.cpp \
ProcessGDBRemoteLog.cpp \
ThreadGDBRemote.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -15,17 +15,13 @@ SRCS= POSIXStopInfo.cpp \
ProcessMessage.cpp \
ProcessPOSIX.cpp \
ProcessPOSIXLog.cpp \
RegisterContextFreeBSD_i386.cpp \
RegisterContextFreeBSD_mips64.cpp \
RegisterContextFreeBSD_x86_64.cpp \
RegisterContextLinux_i386.cpp \
RegisterContextLinux_x86_64.cpp \
RegisterContextPOSIXProcessMonitor_arm64.cpp \
RegisterContextPOSIXProcessMonitor_mips64.cpp \
RegisterContextPOSIXProcessMonitor_x86.cpp \
RegisterContextPOSIX_mips64.cpp \
RegisterContextPOSIX_x86.cpp
RegisterContextPOSIXProcessMonitor_x86.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -6,27 +6,41 @@ LIB= lldbPluginProcessUtility
SRCDIR= tools/lldb/source/Plugins/Process/Utility
SRCS= DynamicRegisterInfo.cpp \
FreeBSDSignals.cpp \
HistoryThread.cpp \
HistoryUnwind.cpp \
InferiorCallPOSIX.cpp \
LinuxSignals.cpp \
RegisterContextDarwin_arm.cpp \
RegisterContextDarwin_arm64.cpp \
RegisterContextDarwin_i386.cpp \
RegisterContextDarwin_x86_64.cpp \
RegisterContextDummy.cpp \
RegisterContextFreeBSD_i386.cpp \
RegisterContextFreeBSD_mips64.cpp \
RegisterContextFreeBSD_x86_64.cpp \
RegisterContextHistory.cpp \
RegisterContextLinux_arm64.cpp \
RegisterContextLinux_i386.cpp \
RegisterContextLinux_x86_64.cpp \
RegisterContextLLDB.cpp \
RegisterContextMach_arm.cpp \
RegisterContextMach_i386.cpp \
RegisterContextMach_x86_64.cpp \
RegisterContextMacOSXFrameBackchain.cpp \
RegisterContextMemory.cpp \
RegisterContextPOSIX_arm64.cpp \
RegisterContextPOSIX_mips64.cpp \
RegisterContextPOSIX_x86.cpp \
RegisterContextThreadMemory.cpp \
StopInfoMachException.cpp \
ThreadMemory.cpp \
UnwindLLDB.cpp \
UnwindMacOSXFrameBackchain.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -31,7 +31,9 @@ SRCS= DWARFAbbreviationDeclaration.cpp \
SymbolFileDWARFDebugMap.cpp \
UniqueDWARFASTType.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList \

View File

@ -10,13 +10,20 @@ SRCDIR= tools/lldb/source/Target
SRCS= ABI.cpp \
CPPLanguageRuntime.cpp \
ExecutionContext.cpp \
FileAction.cpp \
JITLoader.cpp \
JITLoaderList.cpp \
LanguageRuntime.cpp \
Memory.cpp \
NativeRegisterContext.cpp \
NativeRegisterContextRegisterInfo.cpp \
ObjCLanguageRuntime.cpp \
OperatingSystem.cpp \
PathMappingList.cpp \
Platform.cpp \
Process.cpp \
ProcessInfo.cpp \
ProcessLaunchInfo.cpp \
Queue.cpp \
QueueItem.cpp \
QueueList.cpp \
@ -51,7 +58,9 @@ SRCS= ABI.cpp \
UnixSignals.cpp \
UnwindAssembly.cpp
TGHDRS= DiagnosticCommonKinds \
TGHDRS= AttrList \
Attrs \
DiagnosticCommonKinds \
DeclNodes \
StmtNodes \
CommentCommandList

View File

@ -5,13 +5,15 @@
LIB= lldbUtility
SRCDIR= tools/lldb/source/Utility
SRCS= ARM_DWARF_Registers.cpp \
SRCS= ARM64_DWARF_Registers.cpp \
ARM_DWARF_Registers.cpp \
KQueue.cpp \
PseudoTerminal.cpp \
Range.cpp \
SharingPtr.cpp \
StringExtractor.cpp \
StringExtractorGDBRemote.cpp \
StringLexer.cpp \
TimeSpecTimeout.cpp
.include "../lldb.lib.mk"

View File

@ -16,8 +16,8 @@ SRCS= Driver.cpp \
lldb.1:
ln -fs ${LLDB_SRCS}/docs/lldb.1 ${.TARGET}
DPADD= ${LIBEDIT} ${LIBNCURSESW} ${LIBEXECINFO} ${LIBPANEL}
LDADD= -ledit -lncursesw -lexecinfo -lpanel
DPADD= ${LIBEDIT} ${LIBNCURSESW} ${LIBEXECINFO} ${LIBPANEL} ${LIBZ}
LDADD= -ledit -lncursesw -lexecinfo -lpanel -lz
LLDB_LIBS=\
lldb \
@ -30,6 +30,7 @@ LLDB_LIBS=\
lldbExpression \
lldbHostFreeBSD \
lldbHostCommon \
lldbHostPOSIX \
lldbInterpreter \
lldbSymbol \
lldbTarget \
@ -39,12 +40,15 @@ LLDB_LIBS=\
lldbPluginCXXItaniumABI \
lldbPluginDisassemblerLLVM \
lldbPluginInstructionARM \
lldbPluginInstructionARM64 \
lldbPluginJITLoaderGDB \
lldbPluginSymbolFileDWARF \
lldbPluginSymbolFileSymtab \
lldbPluginDynamicLoaderStatic \
lldbPluginDynamicLoaderPosixDYLD \
lldbPluginObjectContainerBSDArchive \
lldbPluginObjectFileELF \
lldbPluginObjectFileJIT \
lldbPluginSymbolVendorELF \
lldbPluginPlatformFreeBSD \
lldbPluginPlatformGDB \
@ -98,7 +102,6 @@ LIBDEPS=\
llvmselectiondag \
llvmipo \
llvmbitwriter \
llvmbitreader \
llvmasmparser \
llvminterpreter \
llvmjit \
@ -109,6 +112,8 @@ LIBDEPS=\
llvmpowerpcdesc \
llvmpowerpcinstprinter \
llvmpowerpcasmparser \
llvmpowerpcdisassembler \
llvmprofiledata \
llvmruntimedyld \
llvmvectorize \
llvmx86desc \
@ -130,6 +135,7 @@ LIBDEPS=\
llvmx86info \
llvmx86utils \
llvmobject \
llvmbitreader \
llvminstcombine \
llvmtransformutils \
llvmipa \