lldb: build and enable lua script bindings
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24266
This commit is contained in:
parent
e40fa28f1a
commit
652a974885
@ -43,7 +43,7 @@
|
||||
|
||||
#define LLDB_ENABLE_LIBXML2 0
|
||||
|
||||
#define LLDB_ENABLE_LUA 0
|
||||
#define LLDB_ENABLE_LUA 1
|
||||
|
||||
#define LLDB_ENABLE_PYTHON 0
|
||||
|
||||
|
@ -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
|
||||
|
@ -36,6 +36,7 @@ CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}
|
||||
|
||||
LIBADD+= edit
|
||||
LIBADD+= execinfo
|
||||
LIBADD+= lua
|
||||
LIBADD+= lzma
|
||||
LIBADD+= ncursesw
|
||||
LIBADD+= panel
|
||||
|
Loading…
Reference in New Issue
Block a user