From e81ba283131cf76ae62fa9b601a24d080578efaa Mon Sep 17 00:00:00 2001 From: Siger Yang Date: Sun, 4 Jul 2021 19:38:12 -0300 Subject: [lldb/lua] Add scripted watchpoints for Lua Add support for Lua scripted watchpoints, with basic tests. Differential Revision: https://reviews.llvm.org/D105034 --- lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp') diff --git a/lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp b/lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp index 76ce3bc..8d849ca 100644 --- a/lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp +++ b/lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp @@ -30,6 +30,11 @@ extern "C" llvm::Expected LLDBSwigLuaBreakpointCallbackFunction( return false; } +extern "C" llvm::Expected LLDBSwigLuaWatchpointCallbackFunction( + lua_State *L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp) { + return false; +} + #if _MSC_VER #pragma warning (pop) #endif -- cgit v1.1