diff options
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h')
-rw-r--r-- | lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h index 0456baf4a65..2e9670587e6 100644 --- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h +++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h @@ -85,17 +85,13 @@ protected: /// mapped to the address space lldb::addr_t m_vdso_base; - /// Contains AT_BASE, which means a dynamic loader has been - /// mapped to the address space - lldb::addr_t m_interpreter_base; - /// Loaded module list. (link map for each module) std::map<lldb::ModuleWP, lldb::addr_t, std::owner_less<lldb::ModuleWP>> m_loaded_modules; - /// If possible sets a breakpoint on a function called by the runtime + /// Enables a breakpoint on a function called by the runtime /// linker each time a module is loaded or unloaded. - bool SetRendezvousBreakpoint(); + virtual void SetRendezvousBreakpoint(); /// Callback routine which updates the current list of loaded modules based /// on the information supplied by the runtime linker. @@ -142,11 +138,7 @@ protected: /// of all dependent modules. virtual void LoadAllCurrentModules(); - void LoadVDSO(); - - // Loading an interpreter module (if present) assumming m_interpreter_base - // already points to its base address. - lldb::ModuleSP LoadInterpreterModule(); + void LoadVDSO(lldb_private::ModuleList &modules); /// Computes a value for m_load_offset returning the computed address on /// success and LLDB_INVALID_ADDRESS on failure. @@ -156,10 +148,9 @@ protected: /// success and LLDB_INVALID_ADDRESS on failure. lldb::addr_t GetEntryPoint(); - /// Evaluate if Aux vectors contain vDSO and LD information + /// Evaluate if Aux vectors contain vDSO information /// in case they do, read and assign the address to m_vdso_base - /// and m_interpreter_base. - void EvalSpecialModulesStatus(); + void EvalVdsoStatus(); /// Loads Module from inferior process. void ResolveExecutableModule(lldb::ModuleSP &module_sp); |