Add the ability to write target stop-hooks using the ScriptInterpreter.

Differential Revision: https://reviews.llvm.org/D88123
This commit is contained in:
Jim Ingham
2020-09-22 15:55:18 -07:00
parent 58cdbf518b
commit b65966cff6
19 changed files with 907 additions and 131 deletions

View File

@@ -105,6 +105,14 @@ public:
lldb::SearchDepth ScriptedBreakpointResolverSearchDepth(
StructuredData::GenericSP implementor_sp) override;
StructuredData::GenericSP
CreateScriptedStopHook(lldb::TargetSP target_sp, const char *class_name,
StructuredDataImpl *args_data, Status &error) override;
bool ScriptedStopHookHandleStop(StructuredData::GenericSP implementor_sp,
ExecutionContext &exc_ctx,
lldb::StreamSP stream_sp) override;
StructuredData::GenericSP
CreateFrameRecognizer(const char *class_name) override;