aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp
diff options
context:
space:
mode:
authorSiger Yang <sigeryeung@gmail.com>2021-07-04 19:38:12 -0300
committerPedro Tammela <pctammela@gmail.com>2021-07-07 14:51:02 -0300
commite81ba283131cf76ae62fa9b601a24d080578efaa (patch)
tree0939a8b3fcd96a847409c32bec8a59f8821e0c56 /lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp
parent3ebfeb258698db82b7525cfaa1efd04db93d72ba (diff)
downloadllvm-e81ba283131cf76ae62fa9b601a24d080578efaa.zip
llvm-e81ba283131cf76ae62fa9b601a24d080578efaa.tar.gz
llvm-e81ba283131cf76ae62fa9b601a24d080578efaa.tar.bz2
[lldb/lua] Add scripted watchpoints for Lua
Add support for Lua scripted watchpoints, with basic tests. Differential Revision: https://reviews.llvm.org/D105034
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp')
-rw-r--r--lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp5
1 files changed, 5 insertions, 0 deletions
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<bool> LLDBSwigLuaBreakpointCallbackFunction(
return false;
}
+extern "C" llvm::Expected<bool> LLDBSwigLuaWatchpointCallbackFunction(
+ lua_State *L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp) {
+ return false;
+}
+
#if _MSC_VER
#pragma warning (pop)
#endif