[Lldb-commits] [lldb] 4adabb8 - Fix typo: FineLineEntriesForFileIndex -> FindLineEntriesForFileIndex.
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 1 16:41:28 PST 2023
Author: Jim Ingham
Date: 2023-02-01T16:41:17-08:00
New Revision: 4adabb8786b87e9f105e37d5606e1c0187abc647
URL: https://github.com/llvm/llvm-project/commit/4adabb8786b87e9f105e37d5606e1c0187abc647
DIFF: https://github.com/llvm/llvm-project/commit/4adabb8786b87e9f105e37d5606e1c0187abc647.diff
LOG: Fix typo: FineLineEntriesForFileIndex -> FindLineEntriesForFileIndex.
Added:
Modified:
lldb/include/lldb/Symbol/LineTable.h
lldb/source/Core/FileLineResolver.cpp
lldb/source/Symbol/LineTable.cpp
Removed:
################################################################################
diff --git a/lldb/include/lldb/Symbol/LineTable.h b/lldb/include/lldb/Symbol/LineTable.h
index 7fca44b5930b7..6d158ab518879 100644
--- a/lldb/include/lldb/Symbol/LineTable.h
+++ b/lldb/include/lldb/Symbol/LineTable.h
@@ -161,7 +161,7 @@ class LineTable {
uint32_t start_idx, const std::vector<uint32_t> &file_idx,
const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr);
- size_t FineLineEntriesForFileIndex(uint32_t file_idx, bool append,
+ size_t FindLineEntriesForFileIndex(uint32_t file_idx, bool append,
SymbolContextList &sc_list);
/// Get the line entry from the line table at index \a idx.
diff --git a/lldb/source/Core/FileLineResolver.cpp b/lldb/source/Core/FileLineResolver.cpp
index 2cf7007165bc6..612614a41bb0e 100644
--- a/lldb/source/Core/FileLineResolver.cpp
+++ b/lldb/source/Core/FileLineResolver.cpp
@@ -48,7 +48,7 @@ FileLineResolver::SearchCallback(SearchFilter &filter, SymbolContext &context,
// Match all lines in a file...
const bool append = true;
while (file_idx != UINT32_MAX) {
- line_table->FineLineEntriesForFileIndex(file_idx, append,
+ line_table->FindLineEntriesForFileIndex(file_idx, append,
m_sc_list);
// Get the next file index in case we have multiple file entries
// for the same file
diff --git a/lldb/source/Symbol/LineTable.cpp b/lldb/source/Symbol/LineTable.cpp
index cd8d520ada781..59b5d6125e04e 100644
--- a/lldb/source/Symbol/LineTable.cpp
+++ b/lldb/source/Symbol/LineTable.cpp
@@ -325,7 +325,7 @@ uint32_t LineTable::FindLineEntryIndexByFileIndex(
start_idx, file_idx, src_location_spec, line_entry_ptr, file_idx_matcher);
}
-size_t LineTable::FineLineEntriesForFileIndex(uint32_t file_idx, bool append,
+size_t LineTable::FindLineEntriesForFileIndex(uint32_t file_idx, bool append,
SymbolContextList &sc_list) {
if (!append)
More information about the lldb-commits
mailing list