From 9d984acfb7e1b5a78ede1294eeb5bffff99767a5 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sun, 8 Feb 2015 17:26:41 +0000 Subject: [PATCH] Update FreeBSD LLDB build for 3.6 update Sponsored by: DARPA, AFRL --- lib/clang/Makefile | 4 ++++ lib/clang/liblldbAPI/Makefile | 3 +++ lib/clang/liblldbCore/Makefile | 1 - lib/clang/liblldbDataFormatters/Makefile | 5 +++++ lib/clang/liblldbExpression/Makefile | 1 + lib/clang/liblldbHostCommon/Makefile | 8 +++++++- lib/clang/liblldbHostFreeBSD/Makefile | 4 +++- lib/clang/liblldbHostPOSIX/Makefile | 8 ++++++-- lib/clang/liblldbInterpreter/Makefile | 1 + lib/clang/liblldbPluginABISysV_ppc/Makefile | 15 +++++++++++++++ lib/clang/liblldbPluginABISysV_ppc64/Makefile | 15 +++++++++++++++ .../Makefile | 16 ++++++++++++++++ .../liblldbPluginMemoryHistoryASan/Makefile | 15 +++++++++++++++ lib/clang/liblldbPluginProcessElfCore/Makefile | 1 + lib/clang/liblldbPluginProcessPOSIX/Makefile | 1 + lib/clang/liblldbPluginProcessUtility/Makefile | 2 ++ lib/clang/liblldbSymbol/Makefile | 1 + lib/clang/liblldbTarget/Makefile | 5 +++++ lib/clang/liblldbUtility/Makefile | 4 +++- usr.bin/clang/lldb/Makefile | 4 ++++ 20 files changed, 108 insertions(+), 6 deletions(-) create mode 100644 lib/clang/liblldbPluginABISysV_ppc/Makefile create mode 100644 lib/clang/liblldbPluginABISysV_ppc64/Makefile create mode 100644 lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/Makefile create mode 100644 lib/clang/liblldbPluginMemoryHistoryASan/Makefile diff --git a/lib/clang/Makefile b/lib/clang/Makefile index 6da7ad7e4713..a7513c3a9ed4 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -123,6 +123,8 @@ SUBDIR+=liblldb \ liblldbTarget \ liblldbUtility \ \ + liblldbPluginABISysV_ppc \ + liblldbPluginABISysV_ppc64 \ liblldbPluginABISysV_x86_64 \ liblldbPluginCXXItaniumABI \ liblldbPluginDisassemblerLLVM \ @@ -130,7 +132,9 @@ SUBDIR+=liblldb \ liblldbPluginDynamicLoaderPosixDYLD \ liblldbPluginInstructionARM \ liblldbPluginInstructionARM64 \ + liblldbPluginInstrumentationRuntimeAddressSanitizer \ liblldbPluginJITLoaderGDB \ + liblldbPluginMemoryHistoryASan \ liblldbPluginObjectContainerBSDArchive \ liblldbPluginObjectFileELF \ liblldbPluginObjectFileJIT \ diff --git a/lib/clang/liblldbAPI/Makefile b/lib/clang/liblldbAPI/Makefile index d05473d34d52..44addcaafe8d 100644 --- a/lib/clang/liblldbAPI/Makefile +++ b/lib/clang/liblldbAPI/Makefile @@ -19,6 +19,7 @@ SRCS= SBAddress.cpp \ SBDeclaration.cpp \ SBError.cpp \ SBEvent.cpp \ + SBExecutionContext.cpp \ SBExpressionOptions.cpp \ SBFileSpec.cpp \ SBFileSpecList.cpp \ @@ -43,6 +44,8 @@ SRCS= SBAddress.cpp \ SBSymbolContext.cpp \ SBSymbolContextList.cpp \ SBTarget.cpp \ + SBThreadCollection.cpp \ + SBThreadPlan.cpp \ SBThread.cpp \ SBType.cpp \ SBTypeCategory.cpp \ diff --git a/lib/clang/liblldbCore/Makefile b/lib/clang/liblldbCore/Makefile index 2588285e3f30..7d9e86baaf4a 100644 --- a/lib/clang/liblldbCore/Makefile +++ b/lib/clang/liblldbCore/Makefile @@ -15,7 +15,6 @@ SRCS= Address.cpp \ Broadcaster.cpp \ Communication.cpp \ Connection.cpp \ - ConnectionFileDescriptor.cpp \ ConnectionMachPort.cpp \ ConnectionSharedMemory.cpp \ ConstString.cpp \ diff --git a/lib/clang/liblldbDataFormatters/Makefile b/lib/clang/liblldbDataFormatters/Makefile index d6ad87dd28bf..df34f0000757 100644 --- a/lib/clang/liblldbDataFormatters/Makefile +++ b/lib/clang/liblldbDataFormatters/Makefile @@ -13,18 +13,23 @@ SRCS= CF.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 \ + StringPrinter.cpp \ TypeCategory.cpp \ TypeCategoryMap.cpp \ TypeFormat.cpp \ TypeSummary.cpp \ TypeSynthetic.cpp \ + TypeValidator.cpp \ ValueObjectPrinter.cpp TGHDRS= AttrList \ diff --git a/lib/clang/liblldbExpression/Makefile b/lib/clang/liblldbExpression/Makefile index 120add5693ee..d2d822bc7eb1 100644 --- a/lib/clang/liblldbExpression/Makefile +++ b/lib/clang/liblldbExpression/Makefile @@ -13,6 +13,7 @@ SRCS= ASTDumper.cpp \ ClangExpressionParser.cpp \ ClangExpressionVariable.cpp \ ClangFunction.cpp \ + ClangModulesDeclVendor.cpp \ ClangPersistentVariables.cpp \ ClangUserExpression.cpp \ ClangUtilityFunction.cpp \ diff --git a/lib/clang/liblldbHostCommon/Makefile b/lib/clang/liblldbHostCommon/Makefile index 3d17b3dd9f70..af3c053655f0 100644 --- a/lib/clang/liblldbHostCommon/Makefile +++ b/lib/clang/liblldbHostCommon/Makefile @@ -11,16 +11,22 @@ SRCS= Condition.cpp \ FileSpec.cpp \ Host.cpp \ HostInfoBase.cpp \ + HostNativeThreadBase.cpp \ + HostProcess.cpp \ + HostThread.cpp \ IOObject.cpp \ + MonitoringProcessLauncher.cpp \ Mutex.cpp \ OptionParser.cpp \ - Pipe.cpp \ + PipeBase.cpp \ ProcessRunLock.cpp \ Socket.cpp \ SocketAddress.cpp \ SoftwareBreakpoint.cpp \ Symbols.cpp \ Terminal.cpp \ + ThisThread.cpp \ + ThreadLauncher.cpp \ TimeValue.cpp TGHDRS= AttrList \ diff --git a/lib/clang/liblldbHostFreeBSD/Makefile b/lib/clang/liblldbHostFreeBSD/Makefile index bfabe0d6bd2c..6ebc9b48d2d0 100644 --- a/lib/clang/liblldbHostFreeBSD/Makefile +++ b/lib/clang/liblldbHostFreeBSD/Makefile @@ -6,7 +6,9 @@ LIB= lldbHostFreeBSD SRCDIR= tools/lldb/source/Host/freebsd SRCS= Host.cpp \ - HostInfoFreeBSD.cpp + HostInfoFreeBSD.cpp \ + HostThreadFreeBSD.cpp \ + ThisThread.cpp TGHDRS= DiagnosticCommonKinds \ DeclNodes \ diff --git a/lib/clang/liblldbHostPOSIX/Makefile b/lib/clang/liblldbHostPOSIX/Makefile index 38c879e8fa75..6fe660a4e9f0 100644 --- a/lib/clang/liblldbHostPOSIX/Makefile +++ b/lib/clang/liblldbHostPOSIX/Makefile @@ -5,8 +5,12 @@ LIB= lldbHostPOSIX SRCDIR= tools/lldb/source/Host/posix -SRCS= FileSystem.cpp \ +SRCS= ConnectionFileDescriptorPosix.cpp \ + FileSystem.cpp \ HostInfoPosix.cpp \ - HostProcessPosix.cpp + HostProcessPosix.cpp \ + HostThreadPosix.cpp \ + PipePosix.cpp \ + ProcessLauncherPosix.cpp .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbInterpreter/Makefile b/lib/clang/liblldbInterpreter/Makefile index 0cd78e4c8363..f707d9bb7124 100644 --- a/lib/clang/liblldbInterpreter/Makefile +++ b/lib/clang/liblldbInterpreter/Makefile @@ -28,6 +28,7 @@ SRCS= Args.cpp \ OptionValueArgs.cpp \ OptionValueArray.cpp \ OptionValueBoolean.cpp \ + OptionValueChar.cpp \ OptionValueDictionary.cpp \ OptionValueEnumeration.cpp \ OptionValueFileSpec.cpp \ diff --git a/lib/clang/liblldbPluginABISysV_ppc/Makefile b/lib/clang/liblldbPluginABISysV_ppc/Makefile new file mode 100644 index 000000000000..4cbbc0213bba --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_ppc/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include + +LIB= lldbPluginABISysV_ppc + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-ppc +SRCS= ABISysV_ppc.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_ppc64/Makefile b/lib/clang/liblldbPluginABISysV_ppc64/Makefile new file mode 100644 index 000000000000..fe72ab55937e --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_ppc64/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include + +LIB= lldbPluginABISysV_ppc64 + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-ppc64 +SRCS= ABISysV_ppc64.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/Makefile b/lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/Makefile new file mode 100644 index 000000000000..9b3ae98b25bc --- /dev/null +++ b/lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer/Makefile @@ -0,0 +1,16 @@ +# $FreeBSD$ + +.include + +LIB= lldbPluginInstrumentationRuntimeAddressSanitizer + +SRCDIR= tools/lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer +SRCS= AddressSanitizerRuntime.cpp + +TGHDRS= Attrs \ + DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginMemoryHistoryASan/Makefile b/lib/clang/liblldbPluginMemoryHistoryASan/Makefile new file mode 100644 index 000000000000..ac57d6a6a95e --- /dev/null +++ b/lib/clang/liblldbPluginMemoryHistoryASan/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include + +LIB= lldbPluginMemoryHistoryASan + +SRCDIR= tools/lldb/source/Plugins/MemoryHistory/asan +SRCS= MemoryHistoryASan.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginProcessElfCore/Makefile b/lib/clang/liblldbPluginProcessElfCore/Makefile index 30198b591fb3..66852dd41a35 100644 --- a/lib/clang/liblldbPluginProcessElfCore/Makefile +++ b/lib/clang/liblldbPluginProcessElfCore/Makefile @@ -11,6 +11,7 @@ SRCDIR= tools/lldb/source/Plugins/Process/elf-core SRCS= ProcessElfCore.cpp \ ThreadElfCore.cpp \ RegisterContextPOSIXCore_mips64.cpp \ + RegisterContextPOSIXCore_powerpc.cpp \ RegisterContextPOSIXCore_x86_64.cpp TGHDRS= DiagnosticCommonKinds \ diff --git a/lib/clang/liblldbPluginProcessPOSIX/Makefile b/lib/clang/liblldbPluginProcessPOSIX/Makefile index ecd3d049a28d..ddd902a215d0 100644 --- a/lib/clang/liblldbPluginProcessPOSIX/Makefile +++ b/lib/clang/liblldbPluginProcessPOSIX/Makefile @@ -17,6 +17,7 @@ SRCS= POSIXStopInfo.cpp \ ProcessPOSIXLog.cpp \ RegisterContextPOSIXProcessMonitor_arm64.cpp \ RegisterContextPOSIXProcessMonitor_mips64.cpp \ + RegisterContextPOSIXProcessMonitor_powerpc.cpp \ RegisterContextPOSIXProcessMonitor_x86.cpp TGHDRS= AttrList \ diff --git a/lib/clang/liblldbPluginProcessUtility/Makefile b/lib/clang/liblldbPluginProcessUtility/Makefile index 1828ed7a99b6..d43396f9647f 100644 --- a/lib/clang/liblldbPluginProcessUtility/Makefile +++ b/lib/clang/liblldbPluginProcessUtility/Makefile @@ -18,6 +18,7 @@ SRCS= DynamicRegisterInfo.cpp \ RegisterContextDummy.cpp \ RegisterContextFreeBSD_i386.cpp \ RegisterContextFreeBSD_mips64.cpp \ + RegisterContextFreeBSD_powerpc.cpp \ RegisterContextFreeBSD_x86_64.cpp \ RegisterContextHistory.cpp \ RegisterContextLinux_arm64.cpp \ @@ -31,6 +32,7 @@ SRCS= DynamicRegisterInfo.cpp \ RegisterContextMemory.cpp \ RegisterContextPOSIX_arm64.cpp \ RegisterContextPOSIX_mips64.cpp \ + RegisterContextPOSIX_powerpc.cpp \ RegisterContextPOSIX_x86.cpp \ RegisterContextThreadMemory.cpp \ StopInfoMachException.cpp \ diff --git a/lib/clang/liblldbSymbol/Makefile b/lib/clang/liblldbSymbol/Makefile index ed22ec373acc..82c11ff25211 100644 --- a/lib/clang/liblldbSymbol/Makefile +++ b/lib/clang/liblldbSymbol/Makefile @@ -12,6 +12,7 @@ SRCS= Block.cpp \ ClangExternalASTSourceCallbacks.cpp \ ClangExternalASTSourceCommon.cpp \ ClangNamespaceDecl.cpp \ + CompactUnwindInfo.cpp \ CompileUnit.cpp \ Declaration.cpp \ DWARFCallFrameInfo.cpp \ diff --git a/lib/clang/liblldbTarget/Makefile b/lib/clang/liblldbTarget/Makefile index a8fb45729eef..95ced8d2b5ec 100644 --- a/lib/clang/liblldbTarget/Makefile +++ b/lib/clang/liblldbTarget/Makefile @@ -11,10 +11,13 @@ SRCS= ABI.cpp \ CPPLanguageRuntime.cpp \ ExecutionContext.cpp \ FileAction.cpp \ + InstrumentationRuntime.cpp \ + InstrumentationRuntimeStopInfo.cpp \ JITLoader.cpp \ JITLoaderList.cpp \ LanguageRuntime.cpp \ Memory.cpp \ + MemoryHistory.cpp \ NativeRegisterContext.cpp \ NativeRegisterContextRegisterInfo.cpp \ ObjCLanguageRuntime.cpp \ @@ -38,11 +41,13 @@ SRCS= ABI.cpp \ Target.cpp \ TargetList.cpp \ Thread.cpp \ + ThreadCollection.cpp \ ThreadList.cpp \ ThreadPlan.cpp \ ThreadPlanBase.cpp \ ThreadPlanCallFunction.cpp \ ThreadPlanCallUserExpression.cpp \ + ThreadPlanPython.cpp \ ThreadPlanRunToAddress.cpp \ ThreadPlanShouldStopHere.cpp \ ThreadPlanStepInRange.cpp \ diff --git a/lib/clang/liblldbUtility/Makefile b/lib/clang/liblldbUtility/Makefile index c08e384b5b5b..13ed72df32ca 100644 --- a/lib/clang/liblldbUtility/Makefile +++ b/lib/clang/liblldbUtility/Makefile @@ -10,10 +10,12 @@ SRCS= ARM64_DWARF_Registers.cpp \ KQueue.cpp \ PseudoTerminal.cpp \ Range.cpp \ + RegisterNumber.cpp \ SharingPtr.cpp \ StringExtractor.cpp \ StringExtractorGDBRemote.cpp \ StringLexer.cpp \ - TimeSpecTimeout.cpp + TimeSpecTimeout.cpp \ + UriParser.cpp .include "../lldb.lib.mk" diff --git a/usr.bin/clang/lldb/Makefile b/usr.bin/clang/lldb/Makefile index 0fc878fc2c5b..7757145e76c7 100644 --- a/usr.bin/clang/lldb/Makefile +++ b/usr.bin/clang/lldb/Makefile @@ -36,16 +36,20 @@ LLDB_LIBS=\ lldbTarget \ lldbUtility \ \ + lldbPluginABISysV_ppc \ + lldbPluginABISysV_ppc64 \ lldbPluginABISysV_x86_64 \ lldbPluginCXXItaniumABI \ lldbPluginDisassemblerLLVM \ lldbPluginInstructionARM \ lldbPluginInstructionARM64 \ + lldbPluginInstrumentationRuntimeAddressSanitizer \ lldbPluginJITLoaderGDB \ lldbPluginSymbolFileDWARF \ lldbPluginSymbolFileSymtab \ lldbPluginDynamicLoaderStatic \ lldbPluginDynamicLoaderPosixDYLD \ + lldbPluginMemoryHistoryASan \ lldbPluginObjectContainerBSDArchive \ lldbPluginObjectFileELF \ lldbPluginObjectFileJIT \