[Lldb-commits] [lldb] [lldb/Target] Add GetStartSymbol method to DynamicLoader plugins (PR #99673)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 19 10:58:36 PDT 2024


================
@@ -329,6 +330,11 @@ class DynamicLoader : public PluginInterface {
   /// safe to call certain APIs or SPIs.
   virtual bool IsFullyInitialized() { return true; }
 
+  /// Return the `start` function \b symbol in the dynamic loader module.
+  virtual llvm::Expected<lldb_private::Symbol> GetStartSymbol() {
----------------
jasonmolenda wrote:

I would DEFINITELY not bank on this assumption.  The world of environments a debugger needs to support is vast.

https://github.com/llvm/llvm-project/pull/99673


More information about the lldb-commits mailing list