diff --git a/lib/clang/Makefile b/lib/clang/Makefile index 42f190a09ebe..71e52024da26 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -1,176 +1,181 @@ # $FreeBSD$ .include .if !make(install) .if ${MK_CLANG_FULL} != "no" _libclangstaticanalyzer= \ libclangstaticanalyzercheckers \ libclangstaticanalyzercore \ libclangstaticanalyzerfrontend _libclangarcmigrate= \ libclangarcmigrate .endif # MK_CLANG_FULL SUBDIR= libclanganalysis \ ${_libclangarcmigrate} \ libclangast \ libclangbasic \ libclangcodegen \ libclangdriver \ libclangedit \ libclangfrontend \ libclangfrontendtool \ libclanglex \ libclangparse \ libclangrewritefrontend \ libclangrewrite \ libclangsema \ libclangserialization \ ${_libclangstaticanalyzer} \ \ libllvmanalysis \ libllvmasmparser \ libllvmasmprinter \ libllvmbitreader \ libllvmbitwriter \ libllvmcodegen \ libllvmcore \ libllvminstcombine \ libllvminstrumentation \ libllvmipo \ libllvmirreader \ libllvmlinker \ libllvmmc \ libllvmmcdisassembler \ libllvmmcparser \ libllvmobjcarcopts \ libllvmobject \ libllvmoption \ libllvmprofiledata \ libllvmscalaropts \ libllvmselectiondag \ libllvmsupport \ libllvmtablegen \ libllvmtarget \ libllvmtransformutils \ libllvmvectorize \ \ libllvmaarch64asmparser \ libllvmaarch64asmprinter \ libllvmaarch64codegen \ libllvmaarch64desc \ libllvmaarch64info \ libllvmaarch64utils \ libllvmarmasmparser \ libllvmarmasmprinter \ libllvmarmcodegen \ libllvmarmdesc \ libllvmarminfo \ libllvmmipsasmparser \ libllvmmipsasmprinter \ libllvmmipscodegen \ libllvmmipsdesc \ libllvmmipsinfo \ libllvmpowerpcasmparser \ libllvmpowerpcasmprinter \ libllvmpowerpccodegen \ libllvmpowerpcdesc \ libllvmpowerpcinfo \ libllvmsparcasmparser \ libllvmsparcasmprinter \ libllvmsparccodegen \ libllvmsparcdesc \ libllvmsparcinfo \ libllvmx86asmparser \ libllvmx86asmprinter \ libllvmx86codegen \ libllvmx86desc \ libllvmx86info \ libllvmx86utils .if ${MK_CLANG_EXTRAS} != "no" SUBDIR+=libllvmdebuginfodwarf \ libllvmdebuginfopdb \ libllvmlibdriver \ libllvmlto \ libllvmmirparser \ libllvmorcjit \ libllvmpasses \ libllvmsymbolize .endif # MK_CLANG_EXTRAS .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" SUBDIR+=libllvmexecutionengine \ libllvmaarch64disassembler \ libllvmarmdisassembler \ libllvminterpreter \ libllvmmcjit \ libllvmmipsdisassembler \ libllvmpowerpcdisassembler \ libllvmruntimedyld \ libllvmsparcdisassembler \ libllvmx86disassembler .endif # MK_CLANG_EXTRAS | LLDB .if ${MK_LLDB} != "no" SUBDIR+=liblldb \ \ liblldbAPI \ liblldbBreakpoint \ liblldbCommands \ liblldbCore \ liblldbDataFormatters \ liblldbExpression \ liblldbHostCommon \ liblldbHostFreeBSD \ liblldbHostPOSIX \ liblldbInitialization \ liblldbInterpreter \ liblldbSymbol \ liblldbTarget \ liblldbUtility \ \ liblldbPluginABISysV_arm \ liblldbPluginABISysV_arm64 \ liblldbPluginABISysV_i386 \ liblldbPluginABISysV_mips \ liblldbPluginABISysV_mips64 \ liblldbPluginABISysV_ppc \ liblldbPluginABISysV_ppc64 \ liblldbPluginABISysV_x86_64 \ liblldbPluginCXXItaniumABI \ liblldbPluginDisassemblerLLVM \ liblldbPluginDynamicLoaderStatic \ liblldbPluginDynamicLoaderPosixDYLD \ + liblldbPluginExpressionParserClang \ + liblldbPluginExpressionParserGo \ liblldbPluginInstructionARM \ liblldbPluginInstructionARM64 \ liblldbPluginInstructionMIPS \ liblldbPluginInstructionMIPS64 \ liblldbPluginInstrumentationRuntimeAddressSanitizer \ liblldbPluginJITLoaderGDB \ + liblldbPluginLanguageCPlusPlus \ + liblldbPluginLanguageObjC \ liblldbPluginMemoryHistoryASan \ liblldbPluginObjectContainerBSDArchive \ liblldbPluginObjectFileELF \ liblldbPluginObjectFileJIT \ liblldbPluginPlatformFreeBSD \ liblldbPluginPlatformGDB \ liblldbPluginProcessElfCore \ liblldbPluginProcessFreeBSD \ liblldbPluginProcessGDBRemote \ liblldbPluginProcessPOSIX \ liblldbPluginProcessUtility \ + liblldbPluginScriptInterpreterNone \ liblldbPluginSymbolFileDWARF \ liblldbPluginSymbolFileSymtab \ liblldbPluginSymbolVendorELF \ liblldbPluginUnwindAssemblyInstEmulation \ liblldbPluginUnwindAssemblyX86 .endif # MK_LLDB .endif # !make(install) SUBDIR+= include SUBDIR_PARALLEL= .include diff --git a/lib/clang/liblldbCore/Makefile b/lib/clang/liblldbCore/Makefile index 86bff4d26aaa..2c81bd4b93c2 100644 --- a/lib/clang/liblldbCore/Makefile +++ b/lib/clang/liblldbCore/Makefile @@ -1,89 +1,89 @@ # $FreeBSD$ .include LIB= lldbCore SRCDIR= tools/lldb/source/Core SRCS= Address.cpp \ AddressRange.cpp \ AddressResolver.cpp \ AddressResolverFileLine.cpp \ AddressResolverName.cpp \ ArchSpec.cpp \ Baton.cpp \ Broadcaster.cpp \ Communication.cpp \ Connection.cpp \ ConnectionMachPort.cpp \ ConnectionSharedMemory.cpp \ ConstString.cpp \ CxaDemangle.cpp \ DataBufferHeap.cpp \ DataBufferMemoryMap.cpp \ DataEncoder.cpp \ DataExtractor.cpp \ Debugger.cpp \ Disassembler.cpp \ DynamicLoader.cpp \ EmulateInstruction.cpp \ Error.cpp \ Event.cpp \ FastDemangle.cpp \ FileLineResolver.cpp \ FileSpecList.cpp \ FormatEntity.cpp \ History.cpp \ IOHandler.cpp \ - Language.cpp \ Listener.cpp \ Log.cpp \ Logging.cpp \ Mangled.cpp \ Module.cpp \ ModuleChild.cpp \ ModuleList.cpp \ Opcode.cpp \ PluginManager.cpp \ RegisterValue.cpp \ RegularExpression.cpp \ Scalar.cpp \ SearchFilter.cpp \ Section.cpp \ SourceManager.cpp \ State.cpp \ Stream.cpp \ StreamAsynchronousIO.cpp \ StreamCallback.cpp \ StreamFile.cpp \ StreamGDBRemote.cpp \ StreamString.cpp \ StringList.cpp \ StructuredData.cpp \ Timer.cpp \ UserID.cpp \ UserSettingsController.cpp \ UUID.cpp \ Value.cpp \ ValueObject.cpp \ ValueObjectCast.cpp \ ValueObjectChild.cpp \ ValueObjectConstResult.cpp \ + ValueObjectConstResultCast.cpp \ ValueObjectConstResultChild.cpp \ ValueObjectConstResultImpl.cpp \ ValueObjectDynamicValue.cpp \ ValueObjectList.cpp \ ValueObjectMemory.cpp \ ValueObjectRegister.cpp \ ValueObjectSyntheticFilter.cpp \ ValueObjectVariable.cpp \ VMRange.cpp TGHDRS= AttrList \ Attrs \ DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbDataFormatters/Makefile b/lib/clang/liblldbDataFormatters/Makefile index 881469729cdb..f3b4168f9db2 100644 --- a/lib/clang/liblldbDataFormatters/Makefile +++ b/lib/clang/liblldbDataFormatters/Makefile @@ -1,43 +1,33 @@ # $FreeBSD$ .include 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 \ TypeFormat.cpp \ TypeSummary.cpp \ TypeSynthetic.cpp \ TypeValidator.cpp \ ValueObjectPrinter.cpp \ VectorType.cpp TGHDRS= AttrList \ Attrs \ DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbExpression/Makefile b/lib/clang/liblldbExpression/Makefile index d2d822bc7eb1..af6635d2a856 100644 --- a/lib/clang/liblldbExpression/Makefile +++ b/lib/clang/liblldbExpression/Makefile @@ -1,40 +1,35 @@ # $FreeBSD$ .include 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 \ AttrList \ Attrs \ AttrParsedAttrList \ DiagnosticFrontendKinds \ DiagnosticSemaKinds \ Intrinsics .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbHostCommon/Makefile b/lib/clang/liblldbHostCommon/Makefile index f463c9c2a2df..706ea1f8f0ab 100644 --- a/lib/clang/liblldbHostCommon/Makefile +++ b/lib/clang/liblldbHostCommon/Makefile @@ -1,44 +1,47 @@ # $FreeBSD$ .include LIB= lldbHostCommon SRCDIR= tools/lldb/source/Host/common SRCS= Condition.cpp \ Editline.cpp \ File.cpp \ FileSpec.cpp \ FileSystem.cpp \ + GetOptInc.cpp \ Host.cpp \ HostInfoBase.cpp \ HostNativeThreadBase.cpp \ HostProcess.cpp \ HostThread.cpp \ IOObject.cpp \ LockFileBase.cpp \ MonitoringProcessLauncher.cpp \ Mutex.cpp \ NativeRegisterContext.cpp \ OptionParser.cpp \ PipeBase.cpp \ ProcessRunLock.cpp \ Socket.cpp \ SocketAddress.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 \ DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbHostPOSIX/Makefile b/lib/clang/liblldbHostPOSIX/Makefile index a46dbcaf5a4a..d6e275c19b8a 100644 --- a/lib/clang/liblldbHostPOSIX/Makefile +++ b/lib/clang/liblldbHostPOSIX/Makefile @@ -1,17 +1,18 @@ # $FreeBSD$ .include LIB= lldbHostPOSIX SRCDIR= tools/lldb/source/Host/posix SRCS= ConnectionFileDescriptorPosix.cpp \ + DomainSocket.cpp \ FileSystem.cpp \ HostInfoPosix.cpp \ HostProcessPosix.cpp \ HostThreadPosix.cpp \ LockFilePosix.cpp \ PipePosix.cpp \ ProcessLauncherPosix.cpp .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbInitialization/Makefile b/lib/clang/liblldbInitialization/Makefile index 9507b6e8f98e..15f7af9b4c51 100644 --- a/lib/clang/liblldbInitialization/Makefile +++ b/lib/clang/liblldbInitialization/Makefile @@ -1,19 +1,17 @@ # $FreeBSD$ .include LIB= lldbInitialization SRCDIR= tools/lldb/source/Initialization SRCS= SystemInitializer.cpp \ SystemInitializerCommon.cpp \ SystemLifetimeManager.cpp -#TGHDRS= AttrList \ -# Attrs \ -# DiagnosticCommonKinds \ -# DeclNodes \ -# StmtNodes \ -# CommentCommandList +TGHDRS= CommentCommandList \ + DeclNodes \ + DiagnosticCommonKinds \ + StmtNodes .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbInterpreter/Makefile b/lib/clang/liblldbInterpreter/Makefile index 2ef5d6e9a253..cf7d28e381ad 100644 --- a/lib/clang/liblldbInterpreter/Makefile +++ b/lib/clang/liblldbInterpreter/Makefile @@ -1,62 +1,59 @@ # $FreeBSD$ .include LIB= lldbInterpreter SRCDIR= tools/lldb/source/Interpreter SRCS= Args.cpp \ CommandHistory.cpp \ CommandInterpreter.cpp \ CommandObject.cpp \ CommandObjectRegexCommand.cpp \ CommandObjectScript.cpp \ CommandOptionValidators.cpp \ CommandReturnObject.cpp \ OptionGroupArchitecture.cpp \ OptionGroupBoolean.cpp \ OptionGroupFile.cpp \ OptionGroupFormat.cpp \ OptionGroupOutputFile.cpp \ OptionGroupPlatform.cpp \ OptionGroupString.cpp \ OptionGroupUInt64.cpp \ OptionGroupUUID.cpp \ OptionGroupValueObjectDisplay.cpp \ OptionValue.cpp \ OptionValueArch.cpp \ OptionValueArgs.cpp \ OptionValueArray.cpp \ OptionValueBoolean.cpp \ OptionValueChar.cpp \ OptionValueDictionary.cpp \ OptionValueEnumeration.cpp \ OptionValueFileSpec.cpp \ OptionValueFileSpecLIst.cpp \ OptionValueFormat.cpp \ OptionValueFormatEntity.cpp \ OptionValueLanguage.cpp \ OptionValuePathMappings.cpp \ OptionValueProperties.cpp \ OptionValueRegex.cpp \ OptionValueSInt64.cpp \ OptionValueString.cpp \ OptionValueUInt64.cpp \ OptionValueUUID.cpp \ OptionGroupVariable.cpp \ OptionGroupWatchpoint.cpp \ Options.cpp \ Property.cpp \ - PythonDataObjects.cpp \ - ScriptInterpreter.cpp \ - ScriptInterpreterNone.cpp \ - ScriptInterpreterPython.cpp + ScriptInterpreter.cpp TGHDRS= AttrList \ Attrs \ DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbExpression/Makefile b/lib/clang/liblldbPluginExpressionParserClang/Makefile similarity index 61% copy from lib/clang/liblldbExpression/Makefile copy to lib/clang/liblldbPluginExpressionParserClang/Makefile index d2d822bc7eb1..2f27613cabe5 100644 --- a/lib/clang/liblldbExpression/Makefile +++ b/lib/clang/liblldbPluginExpressionParserClang/Makefile @@ -1,40 +1,34 @@ # $FreeBSD$ .include -LIB= lldbExpression +LIB= lldbPluginExpressionParserClang -SRCDIR= tools/lldb/source/Expression +SRCDIR= tools/lldb/source/Plugins/ExpressionParser/Clang SRCS= ASTDumper.cpp \ ASTResultSynthesizer.cpp \ ASTStructExtractor.cpp \ ClangASTSource.cpp \ ClangExpressionDeclMap.cpp \ ClangExpressionParser.cpp \ ClangExpressionVariable.cpp \ - ClangFunction.cpp \ + ClangFunctionCaller.cpp \ ClangModulesDeclVendor.cpp \ ClangPersistentVariables.cpp \ ClangUserExpression.cpp \ ClangUtilityFunction.cpp \ - DWARFExpression.cpp \ - ExpressionSourceCode.cpp \ - IRDynamicChecks.cpp \ - IRExecutionUnit.cpp \ - IRForTarget.cpp \ - IRInterpreter.cpp \ - IRMemoryMap.cpp \ - Materializer.cpp + IRForTarget.cpp -TGHDRS= DiagnosticCommonKinds \ - DeclNodes \ - StmtNodes \ - CommentCommandList \ +TGHDRS= Attributes \ AttrList \ - Attrs \ AttrParsedAttrList \ + Attrs \ + CommentCommandList \ + DeclNodes \ + DiagnosticCommonKinds \ DiagnosticFrontendKinds \ DiagnosticSemaKinds \ - Intrinsics + Intrinsics \ + StmtNodes .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginExpressionParserGo/Makefile b/lib/clang/liblldbPluginExpressionParserGo/Makefile new file mode 100644 index 000000000000..79612f932b66 --- /dev/null +++ b/lib/clang/liblldbPluginExpressionParserGo/Makefile @@ -0,0 +1,12 @@ +# $FreeBSD$ + +.include + +LIB= lldbPluginExpressionParserGo + +SRCDIR= tools/lldb/source/Plugins/ExpressionParser/Go +SRCS= GoLexer.cpp \ + GoParser.cpp \ + GoUserExpression.cpp + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginLanguageCPlusPlus/Makefile b/lib/clang/liblldbPluginLanguageCPlusPlus/Makefile new file mode 100644 index 000000000000..6382609eb484 --- /dev/null +++ b/lib/clang/liblldbPluginLanguageCPlusPlus/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +.include + +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" diff --git a/lib/clang/liblldbPluginLanguageObjC/Makefile b/lib/clang/liblldbPluginLanguageObjC/Makefile new file mode 100644 index 000000000000..8653e75e3e8e --- /dev/null +++ b/lib/clang/liblldbPluginLanguageObjC/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +.include + +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" diff --git a/lib/clang/liblldbPluginProcessFreeBSD/Makefile b/lib/clang/liblldbPluginProcessFreeBSD/Makefile index 2af488b0be0d..d9444eefb984 100644 --- a/lib/clang/liblldbPluginProcessFreeBSD/Makefile +++ b/lib/clang/liblldbPluginProcessFreeBSD/Makefile @@ -1,29 +1,28 @@ # $FreeBSD$ .include 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 \ RegisterContextPOSIXProcessMonitor_powerpc.cpp \ RegisterContextPOSIXProcessMonitor_x86.cpp TGHDRS= DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginProcessUtility/Makefile b/lib/clang/liblldbPluginProcessUtility/Makefile index ee11668d109d..4a5e340fc467 100644 --- a/lib/clang/liblldbPluginProcessUtility/Makefile +++ b/lib/clang/liblldbPluginProcessUtility/Makefile @@ -1,57 +1,58 @@ # $FreeBSD$ .include LIB= lldbPluginProcessUtility SRCDIR= tools/lldb/source/Plugins/Process/Utility SRCS= DynamicRegisterInfo.cpp \ FreeBSDSignals.cpp \ GDBRemoteSignals.cpp \ HistoryThread.cpp \ HistoryUnwind.cpp \ InferiorCallPOSIX.cpp \ LinuxSignals.cpp \ MipsLinuxSignals.cpp \ + NetBSDSignals.cpp \ RegisterContextDarwin_arm.cpp \ RegisterContextDarwin_arm64.cpp \ RegisterContextDarwin_i386.cpp \ RegisterContextDarwin_x86_64.cpp \ RegisterContextDummy.cpp \ RegisterContextFreeBSD_arm.cpp \ RegisterContextFreeBSD_arm64.cpp \ RegisterContextFreeBSD_i386.cpp \ RegisterContextFreeBSD_mips64.cpp \ RegisterContextFreeBSD_powerpc.cpp \ RegisterContextFreeBSD_x86_64.cpp \ RegisterContextHistory.cpp \ RegisterContextLinux_arm.cpp \ RegisterContextLinux_arm64.cpp \ RegisterContextLinux_i386.cpp \ RegisterContextLinux_mips.cpp \ RegisterContextLinux_x86_64.cpp \ RegisterContextLLDB.cpp \ RegisterContextMach_arm.cpp \ RegisterContextMach_i386.cpp \ RegisterContextMach_x86_64.cpp \ RegisterContextMacOSXFrameBackchain.cpp \ RegisterContextMemory.cpp \ RegisterContextPOSIX_arm.cpp \ RegisterContextPOSIX_arm64.cpp \ RegisterContextPOSIX_mips64.cpp \ RegisterContextPOSIX_powerpc.cpp \ RegisterContextPOSIX_x86.cpp \ RegisterContextThreadMemory.cpp \ StopInfoMachException.cpp \ ThreadMemory.cpp \ UnwindLLDB.cpp \ UnwindMacOSXFrameBackchain.cpp TGHDRS= AttrList \ Attrs \ DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginScriptInterpreterNone/Makefile b/lib/clang/liblldbPluginScriptInterpreterNone/Makefile new file mode 100644 index 000000000000..d837539b443c --- /dev/null +++ b/lib/clang/liblldbPluginScriptInterpreterNone/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include + +LIB= lldbPluginScriptInterpreterNone + +SRCDIR= tools/lldb/source/Plugins/ScriptInterpreter/None +SRCS= ScriptInterpreterNone.cpp + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginSymbolFileDWARF/Makefile b/lib/clang/liblldbPluginSymbolFileDWARF/Makefile index 5b8dbfd57435..0d2409e70ee9 100644 --- a/lib/clang/liblldbPluginSymbolFileDWARF/Makefile +++ b/lib/clang/liblldbPluginSymbolFileDWARF/Makefile @@ -1,44 +1,50 @@ # $FreeBSD$ .include 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 \ DWARFDebugAranges.cpp \ DWARFDebugArangeSet.cpp \ DWARFDebugInfo.cpp \ DWARFDebugInfoEntry.cpp \ + DWARFDebugMacro.cpp \ DWARFDebugLine.cpp \ DWARFDebugMacinfo.cpp \ DWARFDebugMacinfoEntry.cpp \ DWARFDebugPubnames.cpp \ DWARFDebugPubnamesSet.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 TGHDRS= AttrList \ Attrs \ DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList \ AttrParsedAttrList \ DiagnosticFrontendKinds \ Intrinsics .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbSymbol/Makefile b/lib/clang/liblldbSymbol/Makefile index 82c11ff25211..0cc7a75a5052 100644 --- a/lib/clang/liblldbSymbol/Makefile +++ b/lib/clang/liblldbSymbol/Makefile @@ -1,44 +1,50 @@ # $FreeBSD$ .include 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 \ Symbol.cpp \ SymbolContext.cpp \ SymbolFile.cpp \ SymbolVendor.cpp \ Symtab.cpp \ Type.cpp \ TypeList.cpp \ + TypeMap.cpp \ + TypeSystem.cpp \ UnwindPlan.cpp \ UnwindTable.cpp \ Variable.cpp \ VariableList.cpp \ VerifyDecl.cpp TGHDRS= DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList \ AttrList \ Attrs .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbTarget/Makefile b/lib/clang/liblldbTarget/Makefile index 110dfe9d440d..9bad46ede63c 100644 --- a/lib/clang/liblldbTarget/Makefile +++ b/lib/clang/liblldbTarget/Makefile @@ -1,72 +1,73 @@ # $FreeBSD$ .include LIB= lldbTarget CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Utility SRCDIR= tools/lldb/source/Target SRCS= ABI.cpp \ CPPLanguageRuntime.cpp \ ExecutionContext.cpp \ FileAction.cpp \ InstrumentationRuntime.cpp \ InstrumentationRuntimeStopInfo.cpp \ JITLoader.cpp \ JITLoaderList.cpp \ + Language.cpp \ LanguageRuntime.cpp \ Memory.cpp \ MemoryHistory.cpp \ ObjCLanguageRuntime.cpp \ OperatingSystem.cpp \ PathMappingList.cpp \ Platform.cpp \ Process.cpp \ ProcessInfo.cpp \ ProcessLaunchInfo.cpp \ Queue.cpp \ QueueItem.cpp \ QueueList.cpp \ RegisterContext.cpp \ SectionLoadHistory.cpp \ SectionLoadList.cpp \ StackFrame.cpp \ StackFrameList.cpp \ StackID.cpp \ StopInfo.cpp \ SystemRuntime.cpp \ Target.cpp \ TargetList.cpp \ Thread.cpp \ ThreadCollection.cpp \ ThreadList.cpp \ ThreadPlan.cpp \ ThreadPlanBase.cpp \ ThreadPlanCallFunction.cpp \ ThreadPlanCallFunctionUsingABI.cpp \ ThreadPlanCallUserExpression.cpp \ ThreadPlanPython.cpp \ ThreadPlanRunToAddress.cpp \ ThreadPlanShouldStopHere.cpp \ ThreadPlanStepInRange.cpp \ ThreadPlanStepInstruction.cpp \ ThreadPlanStepOut.cpp \ ThreadPlanStepOverBreakpoint.cpp \ ThreadPlanStepOverRange.cpp \ ThreadPlanStepRange.cpp \ ThreadPlanStepThrough.cpp \ ThreadPlanStepUntil.cpp \ ThreadPlanTracer.cpp \ ThreadSpec.cpp \ UnixSignals.cpp \ UnwindAssembly.cpp TGHDRS= AttrList \ Attrs \ DiagnosticCommonKinds \ DeclNodes \ StmtNodes \ CommentCommandList .include "../lldb.lib.mk" diff --git a/lib/clang/liblldbUtility/Makefile b/lib/clang/liblldbUtility/Makefile index 918cfab243f3..6e2345c48119 100644 --- a/lib/clang/liblldbUtility/Makefile +++ b/lib/clang/liblldbUtility/Makefile @@ -1,26 +1,27 @@ # $FreeBSD$ .include LIB= lldbUtility SRCDIR= tools/lldb/source/Utility SRCS= ARM64_DWARF_Registers.cpp \ ARM_DWARF_Registers.cpp \ ConvertEnum.cpp \ JSON.cpp \ KQueue.cpp \ LLDBAssert.cpp \ ModuleCache.cpp \ NameMatches.cpp \ PseudoTerminal.cpp \ Range.cpp \ RegisterNumber.cpp \ SharingPtr.cpp \ StringExtractor.cpp \ StringExtractorGDBRemote.cpp \ StringLexer.cpp \ + TaskPool.cpp \ TimeSpecTimeout.cpp \ UriParser.cpp .include "../lldb.lib.mk" diff --git a/usr.bin/clang/lldb/Makefile b/usr.bin/clang/lldb/Makefile index cf4ddf5ceef0..2ad02b7bba6e 100644 --- a/usr.bin/clang/lldb/Makefile +++ b/usr.bin/clang/lldb/Makefile @@ -1,166 +1,170 @@ # $FreeBSD$ .include PROG_CXX=lldb LLDB_SRCS=${.CURDIR}/../../../contrib/llvm/tools/lldb CFLAGS+= -I${LLDB_SRCS}/include CXXFLAGS+= -std=c++11 SRCDIR= tools/lldb/tools/driver SRCS= Driver.cpp \ Platform.cpp # Man page directory .PATH: ${LLDB_SRCS}/docs LIBADD= edit panel ncursesw execinfo z LLDB_LIBS=\ lldb \ \ lldbAPI \ lldbBreakpoint \ lldbCommands \ lldbCore \ lldbDataFormatters \ lldbExpression \ lldbHostFreeBSD \ lldbHostCommon \ lldbHostPOSIX \ lldbInitialization \ lldbInterpreter \ lldbSymbol \ lldbTarget \ lldbUtility \ \ lldbPluginABISysV_arm \ lldbPluginABISysV_arm64 \ lldbPluginABISysV_i386 \ lldbPluginABISysV_mips \ lldbPluginABISysV_mips64 \ lldbPluginABISysV_ppc \ lldbPluginABISysV_ppc64 \ lldbPluginABISysV_x86_64 \ lldbPluginCXXItaniumABI \ lldbPluginDisassemblerLLVM \ + lldbPluginExpressionParserClang \ + lldbPluginExpressionParserGo \ lldbPluginInstructionARM \ lldbPluginInstructionARM64 \ lldbPluginInstructionMIPS \ lldbPluginInstructionMIPS64 \ lldbPluginInstrumentationRuntimeAddressSanitizer \ lldbPluginJITLoaderGDB \ + lldbPluginLanguageCPlusPlus \ + lldbPluginLanguageObjC \ lldbPluginSymbolFileDWARF \ lldbPluginSymbolFileSymtab \ lldbPluginDynamicLoaderStatic \ lldbPluginDynamicLoaderPosixDYLD \ lldbPluginMemoryHistoryASan \ lldbPluginObjectContainerBSDArchive \ lldbPluginObjectFileELF \ lldbPluginObjectFileJIT \ + lldbPluginScriptInterpreterNone \ lldbPluginSymbolVendorELF \ lldbPluginPlatformFreeBSD \ lldbPluginPlatformGDB \ lldbPluginProcessElfCore \ lldbPluginProcessFreeBSD \ lldbPluginProcessGDBRemote \ lldbPluginProcessUtility \ lldbPluginProcessPOSIX \ lldbPluginProcessFreeBSD \ lldbPluginUnwindAssemblyInstEmulation \ lldbPluginUnwindAssemblyX86 LDADD+= -Wl,--start-group .for lib in ${LLDB_LIBS} DPADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a LDADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a .endfor LDADD+= -Wl,--end-group # Clang and LLVM libraries LIBDEPS=\ clangfrontend \ clangdriver \ clangserialization \ clangcodegen \ clangparse \ clangsema \ clanganalysis \ clangedit \ clangast \ clanglex \ clangbasic \ \ llvmoption \ llvmobjcarcopts \ llvmlinker \ llvmmcjit \ llvmruntimedyld \ llvmexecutionengine \ llvmirreader \ llvmipo \ llvmvectorize \ llvmbitwriter \ llvmasmparser \ llvmaarch64disassembler \ llvmaarch64codegen \ llvmaarch64asmparser \ llvmaarch64desc \ llvmaarch64info \ llvmaarch64asmprinter \ llvmaarch64utils \ llvmarmdisassembler \ llvmarmcodegen \ llvmarmasmparser \ llvmarmdesc \ llvmarminfo \ llvmarmasmprinter \ llvmmipsdisassembler \ llvmmipscodegen \ llvmmipsasmparser \ llvmmipsdesc \ llvmmipsinfo \ llvmmipsasmprinter \ llvmpowerpcdisassembler \ llvmpowerpccodegen \ llvmpowerpcasmparser \ llvmpowerpcdesc \ llvmpowerpcinfo \ llvmpowerpcasmprinter \ llvmsparcdisassembler \ llvmsparccodegen \ llvmsparcasmparser \ llvmsparcdesc \ llvmsparcinfo \ llvmsparcasmprinter \ llvmx86disassembler \ llvmx86asmparser \ llvmx86codegen \ llvmselectiondag \ llvmasmprinter \ llvmcodegen \ llvmtarget \ llvmscalaropts \ llvmprofiledata \ llvminstcombine \ llvmtransformutils \ - llvmipa \ llvmanalysis \ llvminstrumentation \ llvmx86desc \ llvmobject \ llvmmcparser \ llvmbitreader \ llvmmcdisassembler \ llvmx86info \ llvmx86asmprinter \ llvmmc \ llvmx86utils \ llvmcore \ llvmsupport LIBADD+= pthread .include "../clang.prog.mk"