lldb: build and enable lua script bindings

Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D24266
This commit is contained in:
emaste 2020-04-03 16:54:13 +00:00
parent e9a381b3bc
commit be2f3ab689
3 changed files with 7 additions and 1 deletions

View File

@ -43,7 +43,7 @@
#define LLDB_ENABLE_LIBXML2 0
#define LLDB_ENABLE_LUA 0
#define LLDB_ENABLE_LUA 1
#define LLDB_ENABLE_PYTHON 0

View File

@ -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/GDBRemoteRegisterContext.cpp
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

View File

@ -36,6 +36,7 @@ CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}
LIBADD+= edit
LIBADD+= execinfo
LIBADD+= lua
LIBADD+= lzma
LIBADD+= ncursesw
LIBADD+= panel