From owner-svn-src-all@freebsd.org Fri Apr 3 16:54:23 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 36B812610A0; Fri, 3 Apr 2020 16:54:23 +0000 (UTC) (envelope-from emaste@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 48v5ct5W36z4Mfl; Fri, 3 Apr 2020 16:54:22 +0000 (UTC) (envelope-from emaste@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 5D50680B6; Fri, 3 Apr 2020 16:54:14 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 033GsEN4009101; Fri, 3 Apr 2020 16:54:14 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 033GsD54009099; Fri, 3 Apr 2020 16:54:13 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <202004031654.033GsD54009099@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Fri, 3 Apr 2020 16:54:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r359606 - in head: lib/clang/include/lldb/Host lib/clang/liblldb usr.bin/clang/lldb X-SVN-Group: head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: in head: lib/clang/include/lldb/Host lib/clang/liblldb usr.bin/clang/lldb X-SVN-Commit-Revision: 359606 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2020 16:54:23 -0000 Author: emaste Date: Fri Apr 3 16:54:13 2020 New Revision: 359606 URL: https://svnweb.freebsd.org/changeset/base/359606 Log: lldb: build and enable lua script bindings Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24266 Modified: head/lib/clang/include/lldb/Host/Config.h head/lib/clang/liblldb/Makefile head/usr.bin/clang/lldb/Makefile Modified: head/lib/clang/include/lldb/Host/Config.h ============================================================================== --- head/lib/clang/include/lldb/Host/Config.h Fri Apr 3 16:31:45 2020 (r359605) +++ head/lib/clang/include/lldb/Host/Config.h Fri Apr 3 16:54:13 2020 (r359606) @@ -43,7 +43,7 @@ #define LLDB_ENABLE_LIBXML2 0 -#define LLDB_ENABLE_LUA 0 +#define LLDB_ENABLE_LUA 1 #define LLDB_ENABLE_PYTHON 0 Modified: head/lib/clang/liblldb/Makefile ============================================================================== --- head/lib/clang/liblldb/Makefile Fri Apr 3 16:31:45 2020 (r359605) +++ head/lib/clang/liblldb/Makefile Fri Apr 3 16:54:13 2020 (r359606) @@ -13,6 +13,8 @@ CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/Utility CFLAGS+= -I${OBJTOP}/lib/clang/libllvm CFLAGS+= -I${OBJTOP}/lib/clang/libclang CFLAGS+= -I${OBJTOP}/lib/clang/liblldb +CFLAGS+= -I${SRCTOP}/contrib/lua/src +CFLAGS+= -I${SRCTOP}/lib/liblua SRCS+= API/SBAddress.cpp SRCS+= API/SBAttachInfo.cpp @@ -462,6 +464,8 @@ SRCS+= Plugins/Process/gdb-remote/GDBRemoteRegisterCo SRCS+= Plugins/Process/gdb-remote/ProcessGDBRemote.cpp SRCS+= Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp SRCS+= Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +SRCS+= Plugins/ScriptInterpreter/Lua/Lua.cpp +SRCS+= Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp SRCS+= Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp SRCS+= Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp SRCS+= Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp @@ -642,6 +646,7 @@ SRCS+= Utility/UserID.cpp SRCS+= Utility/UserIDResolver.cpp SRCS+= Utility/VASprintf.cpp SRCS+= Utility/VMRange.cpp +SRCS+= LLDBWrapLua.cpp SRCS+= lldb.cpp LLDB_TBLGEN?= lldb-tblgen Modified: head/usr.bin/clang/lldb/Makefile ============================================================================== --- head/usr.bin/clang/lldb/Makefile Fri Apr 3 16:31:45 2020 (r359605) +++ head/usr.bin/clang/lldb/Makefile Fri Apr 3 16:54:13 2020 (r359606) @@ -36,6 +36,7 @@ CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} LIBADD+= edit LIBADD+= execinfo +LIBADD+= lua LIBADD+= lzma LIBADD+= ncursesw LIBADD+= panel