aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.h
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/source/Plugins/ScriptInterpreter/Lua/Lua.h
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/source/Plugins/ScriptInterpreter/Lua/Lua.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Lua/Lua.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.h b/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.h
index 873440f..5daedf8 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.h
@@ -37,6 +37,10 @@ public:
CallBreakpointCallback(void *baton, lldb::StackFrameSP stop_frame_sp,
lldb::BreakpointLocationSP bp_loc_sp,
StructuredData::ObjectSP extra_args_sp);
+ llvm::Error RegisterWatchpointCallback(void *baton, const char *body);
+ llvm::Expected<bool> CallWatchpointCallback(void *baton,
+ lldb::StackFrameSP stop_frame_sp,
+ lldb::WatchpointSP wp_sp);
llvm::Error LoadModule(llvm::StringRef filename);
llvm::Error CheckSyntax(llvm::StringRef buffer);
llvm::Error ChangeIO(FILE *out, FILE *err);