mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 20:53:29 +08:00
[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.
This commit is contained in:
committed by
GitHub
parent
f4ea19b47e
commit
ab40ae8ff9
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user