mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
Give `type synthetic add -l` a formal `ScriptedSyntheticChildrenInterface`, matching the architecture used elsewhere in this series: a C++ interface header, a Python-backed implementation, `PluginManager` registration with CLI/API usages, and a generatable ABC template (`scripted_synthetic_children.py`) wired into `scripting extension generate`. Every method goes through the shared `Dispatch<T>()` machinery instead of hand-rolling its own Locker/raw-SWIG calls. `Dispatch<T>()` is taught to introspect the target method's arity via `PythonCallable::GetArgInfo()` and drop trailing args before calling, so providers that legitimately define an argument as optional (`num_children(self)` vs. `num_children(self, max_count)`) still work through the generic dispatch path. This retires the ad-hoc `LLDBSwigPython_*` synthetic-children bridge functions entirely. Signed-off-by: Med Ismail Bennani <ismail@bennani.ma> |
||
|---|---|---|
| .. | ||
| operating_system.py | ||
| parsed_cmd.py | ||
| scripted_breakpoint.py | ||
| scripted_command.py | ||
| scripted_frame_provider.py | ||
| scripted_hook.py | ||
| scripted_platform.py | ||
| scripted_process.py | ||
| scripted_stackframe_recognizer.py | ||
| scripted_string_summary.py | ||
| scripted_synthetic_children.py | ||
| scripted_thread_plan.py | ||