[Lldb-commits] [lldb] e5a6950 - [lldb] Remove decl for non-existent ResolveSymbolContextForAddress overload (NFC)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Thu May 18 15:30:24 PDT 2023


Author: Dave Lee
Date: 2023-05-18T15:30:19-07:00
New Revision: e5a695026c78e6bb1abf55a0878066459e1080bc

URL: https://github.com/llvm/llvm-project/commit/e5a695026c78e6bb1abf55a0878066459e1080bc
DIFF: https://github.com/llvm/llvm-project/commit/e5a695026c78e6bb1abf55a0878066459e1080bc.diff

LOG: [lldb] Remove decl for non-existent ResolveSymbolContextForAddress overload (NFC)

Added: 
    

Modified: 
    lldb/include/lldb/Core/Module.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Core/Module.h b/lldb/include/lldb/Core/Module.h
index 31f7894178d79..565c613f63702 100644
--- a/lldb/include/lldb/Core/Module.h
+++ b/lldb/include/lldb/Core/Module.h
@@ -1106,43 +1106,6 @@ class Module : public std::enable_shared_from_this<Module>,
   std::once_flag m_optimization_warning;
   std::once_flag m_language_warning;
 
-  /// Resolve a file or load virtual address.
-  ///
-  /// Tries to resolve \a vm_addr as a file address (if \a
-  /// vm_addr_is_file_addr is true) or as a load address if \a
-  /// vm_addr_is_file_addr is false) in the symbol vendor. \a resolve_scope
-  /// indicates what clients wish to resolve and can be used to limit the
-  /// scope of what is parsed.
-  ///
-  /// \param[in] vm_addr
-  ///     The load virtual address to resolve.
-  ///
-  /// \param[in] vm_addr_is_file_addr
-  ///     If \b true, \a vm_addr is a file address, else \a vm_addr
-  ///     if a load address.
-  ///
-  /// \param[in] resolve_scope
-  ///     The scope that should be resolved (see
-  ///     SymbolContext::Scope).
-  ///
-  /// \param[out] so_addr
-  ///     The section offset based address that got resolved if
-  ///     any bits are returned.
-  ///
-  /// \param[out] sc
-  //      The symbol context that has objects filled in. Each bit
-  ///     in the \a resolve_scope pertains to a member in the \a sc.
-  ///
-  /// \return
-  ///     A integer that contains SymbolContext::Scope bits set for
-  ///     each item that was successfully resolved.
-  ///
-  /// \see SymbolContext::Scope
-  uint32_t ResolveSymbolContextForAddress(lldb::addr_t vm_addr,
-                                          bool vm_addr_is_file_addr,
-                                          lldb::SymbolContextItem resolve_scope,
-                                          Address &so_addr, SymbolContext &sc);
-
   void SymbolIndicesToSymbolContextList(Symtab *symtab,
                                         std::vector<uint32_t> &symbol_indexes,
                                         SymbolContextList &sc_list);


        


More information about the lldb-commits mailing list