diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-01-16 21:09:23 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-16 21:09:23 -0800 |
| commit | 933c25e558e6d0d8766d024a329d003a8d4c1162 (patch) | |
| tree | b094094e622eb852fdfb54dc7fb60f67cc7499ca /lldb/source/Target/ThreadPlanStepRange.cpp | |
| parent | 3e0d71cdf4a406c6a1de825cf69d889d97ede46b (diff) | |
| download | llvm-933c25e558e6d0d8766d024a329d003a8d4c1162.zip llvm-933c25e558e6d0d8766d024a329d003a8d4c1162.tar.gz llvm-933c25e558e6d0d8766d024a329d003a8d4c1162.tar.bz2 | |
[lldb] Store SupportFile in LineEntry (NFC) (#77999)
Store a SupportFile, rather than a FileSpec, in LineEntry. This commit
works towards having the SourceManageroperate on SupportFiles so that it
can (1) validate the Checksum and (2) materialize the content of inline
source information.
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepRange.cpp')
| -rw-r--r-- | lldb/source/Target/ThreadPlanStepRange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlanStepRange.cpp b/lldb/source/Target/ThreadPlanStepRange.cpp index bb92adc..998e76c 100644 --- a/lldb/source/Target/ThreadPlanStepRange.cpp +++ b/lldb/source/Target/ThreadPlanStepRange.cpp @@ -120,8 +120,8 @@ bool ThreadPlanStepRange::InRange() { frame->GetSymbolContext(eSymbolContextEverything)); if (m_addr_context.line_entry.IsValid() && new_context.line_entry.IsValid()) { - if (m_addr_context.line_entry.original_file == - new_context.line_entry.original_file) { + if (*m_addr_context.line_entry.original_file_sp == + *new_context.line_entry.original_file_sp) { if (m_addr_context.line_entry.line == new_context.line_entry.line) { m_addr_context = new_context; const bool include_inlined_functions = |
