From owner-svn-src-projects@freebsd.org Tue Jan 22 18:03:47 2019 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB58214AA2B4 for ; Tue, 22 Jan 2019 18:03:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8243C96A7B; Tue, 22 Jan 2019 18:03:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 74F97503E; Tue, 22 Jan 2019 18:03:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0MI3kNJ062971; Tue, 22 Jan 2019 18:03:46 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0MI3kHN062970; Tue, 22 Jan 2019 18:03:46 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201901221803.x0MI3kHN062970@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Tue, 22 Jan 2019 18:03:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r343307 - in projects/clang800-import: lib/clang/liblldb usr.bin/clang/lldb X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang800-import: lib/clang/liblldb usr.bin/clang/lldb X-SVN-Commit-Revision: 343307 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8243C96A7B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2019 18:03:47 -0000 Author: dim Date: Tue Jan 22 18:03:45 2019 New Revision: 343307 URL: https://svnweb.freebsd.org/changeset/base/343307 Log: Update lldb build glue to make MK_LLDB=yes work. Modified: projects/clang800-import/lib/clang/liblldb/Makefile projects/clang800-import/usr.bin/clang/lldb/Makefile Modified: projects/clang800-import/lib/clang/liblldb/Makefile ============================================================================== --- projects/clang800-import/lib/clang/liblldb/Makefile Tue Jan 22 18:02:40 2019 (r343306) +++ projects/clang800-import/lib/clang/liblldb/Makefile Tue Jan 22 18:03:45 2019 (r343307) @@ -36,6 +36,7 @@ SRCS+= API/SBFileSpecList.cpp SRCS+= API/SBFrame.cpp SRCS+= API/SBFunction.cpp SRCS+= API/SBHostOS.cpp +SRCS+= API/SBInitializerOptions.cpp SRCS+= API/SBInstruction.cpp SRCS+= API/SBInstructionList.cpp SRCS+= API/SBLanguageRuntime.cpp @@ -91,6 +92,7 @@ SRCS+= Breakpoint/BreakpointResolverAddress.cpp SRCS+= Breakpoint/BreakpointResolverFileLine.cpp SRCS+= Breakpoint/BreakpointResolverFileRegex.cpp SRCS+= Breakpoint/BreakpointResolverName.cpp +SRCS+= Breakpoint/BreakpointResolverScripted.cpp SRCS+= Breakpoint/BreakpointSite.cpp SRCS+= Breakpoint/BreakpointSiteList.cpp SRCS+= Breakpoint/Stoppoint.cpp @@ -119,6 +121,7 @@ SRCS+= Commands/CommandObjectPlugin.cpp SRCS+= Commands/CommandObjectProcess.cpp SRCS+= Commands/CommandObjectQuit.cpp SRCS+= Commands/CommandObjectRegister.cpp +SRCS+= Commands/CommandObjectReproducer.cpp SRCS+= Commands/CommandObjectSettings.cpp SRCS+= Commands/CommandObjectSource.cpp SRCS+= Commands/CommandObjectStats.cpp @@ -133,7 +136,6 @@ SRCS+= Core/AddressRange.cpp SRCS+= Core/AddressResolver.cpp SRCS+= Core/AddressResolverFileLine.cpp SRCS+= Core/AddressResolverName.cpp -SRCS+= Core/Broadcaster.cpp SRCS+= Core/Communication.cpp SRCS+= Core/Debugger.cpp SRCS+= Core/Disassembler.cpp @@ -141,24 +143,21 @@ SRCS+= Core/DumpDataExtractor.cpp SRCS+= Core/DumpRegisterValue.cpp SRCS+= Core/DynamicLoader.cpp SRCS+= Core/EmulateInstruction.cpp -SRCS+= Core/Event.cpp SRCS+= Core/FileLineResolver.cpp SRCS+= Core/FileSpecList.cpp SRCS+= Core/FormatEntity.cpp +SRCS+= Core/Highlighter.cpp SRCS+= Core/IOHandler.cpp -SRCS+= Core/Listener.cpp SRCS+= Core/Mangled.cpp SRCS+= Core/Module.cpp SRCS+= Core/ModuleChild.cpp SRCS+= Core/ModuleList.cpp SRCS+= Core/Opcode.cpp SRCS+= Core/PluginManager.cpp -SRCS+= Core/RegisterValue.cpp -SRCS+= Core/Scalar.cpp +SRCS+= Core/RichManglingContext.cpp SRCS+= Core/SearchFilter.cpp SRCS+= Core/Section.cpp SRCS+= Core/SourceManager.cpp -SRCS+= Core/State.cpp SRCS+= Core/StreamAsynchronousIO.cpp SRCS+= Core/StreamFile.cpp SRCS+= Core/UserSettingsController.cpp @@ -219,7 +218,6 @@ SRCS+= Host/common/HostThread.cpp SRCS+= Host/common/LockFileBase.cpp SRCS+= Host/common/MainLoop.cpp SRCS+= Host/common/MonitoringProcessLauncher.cpp -SRCS+= Host/common/NativeBreakpointList.cpp SRCS+= Host/common/NativeWatchpointList.cpp SRCS+= Host/common/OptionParser.cpp SRCS+= Host/common/PipeBase.cpp @@ -301,6 +299,7 @@ SRCS+= Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp SRCS+= Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp SRCS+= Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp SRCS+= Plugins/Architecture/Arm/ArchitectureArm.cpp +SRCS+= Plugins/Architecture/Mips/ArchitectureMips.cpp SRCS+= Plugins/Architecture/PPC64/ArchitecturePPC64.cpp SRCS+= Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp SRCS+= Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp @@ -321,9 +320,6 @@ SRCS+= Plugins/ExpressionParser/Clang/ClangPersistent SRCS+= Plugins/ExpressionParser/Clang/ClangUserExpression.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp SRCS+= Plugins/ExpressionParser/Clang/IRForTarget.cpp -SRCS+= Plugins/ExpressionParser/Go/GoLexer.cpp -SRCS+= Plugins/ExpressionParser/Go/GoParser.cpp -SRCS+= Plugins/ExpressionParser/Go/GoUserExpression.cpp SRCS+= Plugins/Instruction/ARM/EmulateInstructionARM.cpp SRCS+= Plugins/Instruction/ARM/EmulationStateARM.cpp SRCS+= Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp @@ -345,6 +341,8 @@ SRCS+= Plugins/Language/CPlusPlus/LibCxxMap.cpp SRCS+= Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp SRCS+= Plugins/Language/CPlusPlus/LibCxxVector.cpp SRCS+= Plugins/Language/CPlusPlus/LibStdcpp.cpp +SRCS+= Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.cpp +SRCS+= Plugins/Language/ClangCommon/ClangHighlighter.cpp SRCS+= Plugins/Language/ObjC/CF.cpp SRCS+= Plugins/Language/ObjC/Cocoa.cpp SRCS+= Plugins/Language/ObjC/NSArray.cpp @@ -361,6 +359,7 @@ SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp SRCS+= Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp SRCS+= Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp +SRCS+= Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp SRCS+= Plugins/ObjectFile/ELF/ELFHeader.cpp SRCS+= Plugins/ObjectFile/ELF/ObjectFileELF.cpp SRCS+= Plugins/ObjectFile/JIT/ObjectFileJIT.cpp @@ -432,6 +431,8 @@ SRCS+= Plugins/Process/elf-core/ThreadElfCore.cpp SRCS+= Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp +SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -441,11 +442,11 @@ SRCS+= Plugins/Process/gdb-remote/ProcessGDBRemote.cp SRCS+= Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp SRCS+= Plugins/Process/gdb-remote/ThreadGDBRemote.cpp SRCS+= Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp +SRCS+= Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp SRCS+= Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp SRCS+= Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp SRCS+= Plugins/SymbolFile/DWARF/DIERef.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp -SRCS+= Plugins/SymbolFile/DWARF/DWARFASTParserGo.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFAttribute.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp @@ -498,7 +499,6 @@ SRCS+= Symbol/DebugMacros.cpp SRCS+= Symbol/Declaration.cpp SRCS+= Symbol/FuncUnwinders.cpp SRCS+= Symbol/Function.cpp -SRCS+= Symbol/GoASTContext.cpp SRCS+= Symbol/LineEntry.cpp SRCS+= Symbol/LineTable.cpp SRCS+= Symbol/ObjectFile.cpp @@ -544,6 +544,7 @@ SRCS+= Target/SectionLoadHistory.cpp SRCS+= Target/SectionLoadList.cpp SRCS+= Target/StackFrame.cpp SRCS+= Target/StackFrameList.cpp +SRCS+= Target/StackFrameRecognizer.cpp SRCS+= Target/StackID.cpp SRCS+= Target/StopInfo.cpp SRCS+= Target/SystemRuntime.cpp @@ -575,6 +576,7 @@ SRCS+= Target/UnwindAssembly.cpp SRCS+= Utility/ArchSpec.cpp SRCS+= Utility/Args.cpp SRCS+= Utility/Baton.cpp +SRCS+= Utility/Broadcaster.cpp SRCS+= Utility/CompletionRequest.cpp SRCS+= Utility/Connection.cpp SRCS+= Utility/ConstString.cpp @@ -583,17 +585,22 @@ SRCS+= Utility/DataBufferLLVM.cpp SRCS+= Utility/DataEncoder.cpp SRCS+= Utility/DataExtractor.cpp SRCS+= Utility/Environment.cpp -SRCS+= Utility/FastDemangle.cpp +SRCS+= Utility/Event.cpp SRCS+= Utility/FileSpec.cpp SRCS+= Utility/IOObject.cpp SRCS+= Utility/JSON.cpp SRCS+= Utility/LLDBAssert.cpp +SRCS+= Utility/Listener.cpp SRCS+= Utility/Log.cpp SRCS+= Utility/Logging.cpp SRCS+= Utility/NameMatches.cpp +SRCS+= Utility/RegisterValue.cpp SRCS+= Utility/RegularExpression.cpp +SRCS+= Utility/Reproducer.cpp +SRCS+= Utility/Scalar.cpp SRCS+= Utility/SelectHelper.cpp SRCS+= Utility/SharingPtr.cpp +SRCS+= Utility/State.cpp SRCS+= Utility/Status.cpp SRCS+= Utility/Stream.cpp SRCS+= Utility/StreamCallback.cpp Modified: projects/clang800-import/usr.bin/clang/lldb/Makefile ============================================================================== --- projects/clang800-import/usr.bin/clang/lldb/Makefile Tue Jan 22 18:02:40 2019 (r343306) +++ projects/clang800-import/usr.bin/clang/lldb/Makefile Tue Jan 22 18:03:45 2019 (r343307) @@ -8,6 +8,7 @@ PROG_CXX= lldb .PATH: ${LLDB_SRCS}/docs CFLAGS+= -I${LLDB_SRCS}/include +CFLAGS+= -I${.OBJDIR} SRCDIR= tools/lldb/tools/driver SRCS+= Driver.cpp @@ -22,6 +23,18 @@ LIBDEPS+= llvm DPADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a LDADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a .endfor + +LLVM_TBLGEN?= llvm-tblgen +INCFILE= Options.inc +TDFILE= ${LLDB_SRCS}/tools/driver/Options.td +GENOPT= -gen-opt-parser-defs +${INCFILE}: ${TDFILE} + ${LLVM_TBLGEN} ${GENOPT} -I ${LLVM_SRCS}/include -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${TDFILE} +TGHDRS+= ${INCFILE} + +DPSRCS+= ${TGHDRS} +CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} LIBADD+= edit LIBADD+= panel