From ab40ae8ff9f87b6e3d68cab2c47d692016ede958 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 30 Aug 2024 07:18:55 -0700 Subject: [lldb] Store SupportFiles in SourceManager::File (NFC) (#106639) To support detecting MD5 checksum mismatches, store a SupportFile rather than a plain FileSpec in SourceManager::File. --- lldb/source/Commands/CommandObjectSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectSource.cpp') diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index 5ddd46a..1a0629c 100644 --- a/lldb/source/Commands/CommandObjectSource.cpp +++ b/lldb/source/Commands/CommandObjectSource.cpp @@ -1076,8 +1076,8 @@ protected: target.GetSourceManager().GetLastFile()); if (last_file_sp) { const bool show_inlines = true; - m_breakpoint_locations.Reset(last_file_sp->GetFileSpec(), 0, - show_inlines); + m_breakpoint_locations.Reset( + last_file_sp->GetSupportFile()->GetSpecOnly(), 0, show_inlines); SearchFilterForUnconstrainedSearches target_search_filter( target.shared_from_this()); target_search_filter.Search(m_breakpoint_locations); -- cgit v1.1