================ @@ -1003,6 +1010,21 @@ class Platform : public PluginInterface { FileSpec GetModuleCacheRoot(); }; +class PlatformMetadata { +public: + PlatformMetadata(Debugger &debugger, const ScriptedMetadata metadata); + ~PlatformMetadata() = default; + + Debugger &GetDebugger() const { return m_debugger; } + const ScriptedMetadata GetScriptedMetadata() const { + return m_scripted_metadata; + } + +protected: + Debugger &m_debugger; ---------------- medismailben wrote:
I'm not sure how this could make it debugger specific. If you don't like it, I can try to store the debugger's script interpreter pointer instead. How does that sounds to you ? https://github.com/llvm/llvm-project/pull/99814 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits