File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -774,36 +774,6 @@ class LoadAddressResolver {
774
774
lldb::addr_t m_best_internal_load_address = LLDB_INVALID_ADDRESS;
775
775
};
776
776
777
- // / Find a module by LLDB-specific unique identifier.
778
- // /
779
- // / \param[in] uid The UID of the module assigned to it on construction.
780
- // /
781
- // / \returns ModuleSP of module with \c uid. Returns nullptr if no such
782
- // / module could be found.
783
- static lldb::ModuleSP FindDebugModule (lldb::user_id_t uid,
784
- const ModuleList &modules) {
785
- lldb::ModuleSP module_sp;
786
- modules.ForEach ([&](const lldb::ModuleSP &m) {
787
- if (m->GetID () == uid) {
788
- module_sp = m;
789
- return IterationAction::Stop;
790
- }
791
-
792
- auto *sym = m->GetSymbolFile ();
793
- if (!sym)
794
- return IterationAction::Continue;
795
-
796
- auto debug_modules = sym->GetDebugInfoModules ();
797
- module_sp = FindDebugModule (uid, debug_modules);
798
- if (module_sp)
799
- return IterationAction::Stop;
800
-
801
- return IterationAction::Continue;
802
- });
803
-
804
- return module_sp;
805
- }
806
-
807
777
// / Returns address of the function referred to by the special function call
808
778
// / label \c label.
809
779
static llvm::Expected<lldb::addr_t >
You can’t perform that action at this time.
0 commit comments