https://github.com/yln created https://github.com/llvm/llvm-project/pull/128602
None >From 7df56dcd54371b95baf607efb583ccd420b0570e Mon Sep 17 00:00:00 2001 From: Julian Lettner <jlett...@apple.com> Date: Mon, 24 Feb 2025 15:55:11 -0800 Subject: [PATCH] [lldb][NFC] Fix comment in lldb/Core/ModuleList.h --- lldb/include/lldb/Core/ModuleList.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lldb/include/lldb/Core/ModuleList.h b/lldb/include/lldb/Core/ModuleList.h index 29b87de88520d..909ee08f9ba62 100644 --- a/lldb/include/lldb/Core/ModuleList.h +++ b/lldb/include/lldb/Core/ModuleList.h @@ -326,11 +326,11 @@ class ModuleList { void FindGlobalVariables(const RegularExpression ®ex, size_t max_matches, VariableList &variable_list) const; - /// Finds the first module whose file specification matches \a file_spec. + /// Finds modules whose file specification matches \a module_spec. /// /// \param[in] module_spec /// A file specification object to match against the Module's - /// file specifications. If \a file_spec does not have + /// file specifications. If \a module_spec does not have /// directory information, matches will occur by matching only /// the basename of any modules in this list. If this value is /// NULL, then file specifications won't be compared when @@ -351,6 +351,7 @@ class ModuleList { // UUID values is very efficient and accurate. lldb::ModuleSP FindModule(const UUID &uuid) const; + /// Finds the first module whose file specification matches \a module_spec. lldb::ModuleSP FindFirstModule(const ModuleSpec &module_spec) const; void FindSymbolsWithNameAndType(ConstString name, _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits