diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-08-30 10:58:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-30 10:58:32 -0700 |
| commit | 130eddf7a13f15c9c48b7fa7faf60e9bbee4f703 (patch) | |
| tree | 98b5d00cf0db51be6cd8daeeed42036c9e6a7304 /lldb/source/Target/StackFrameList.cpp | |
| parent | 0efa38699a4988793cdd51426fe27f00b5e5ce37 (diff) | |
[lldb] Deal with SupportFiles in SourceManager (NFC) (#106740)
To support detecting MD5 checksum mismatches, deal with SupportFiles
rather than a plain FileSpecs in the SourceManager.
Diffstat (limited to 'lldb/source/Target/StackFrameList.cpp')
| -rw-r--r-- | lldb/source/Target/StackFrameList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/StackFrameList.cpp b/lldb/source/Target/StackFrameList.cpp index 7808bd3674ab..3849ec5ed178 100644 --- a/lldb/source/Target/StackFrameList.cpp +++ b/lldb/source/Target/StackFrameList.cpp @@ -886,7 +886,7 @@ void StackFrameList::SetDefaultFileAndLineToSelectedFrame() { SymbolContext sc = frame_sp->GetSymbolContext(eSymbolContextLineEntry); if (sc.line_entry.GetFile()) m_thread.CalculateTarget()->GetSourceManager().SetDefaultFileAndLine( - sc.line_entry.GetFile(), sc.line_entry.line); + sc.line_entry.file_sp, sc.line_entry.line); } } } |
