aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-03-19 17:48:46 -0700
committerGitHub <noreply@github.com>2024-03-19 17:48:46 -0700
commita289f66efd638c2af14cdb88968e4eaeea0c0605 (patch)
tree564ed961f19cd55af753fcecba08d53d5fbb53c1 /lldb/source/Commands/CommandObjectThread.cpp
parente2fa90fa0a4b7950dd0d7fae6933e89c075d0af0 (diff)
downloadllvm-a289f66efd638c2af14cdb88968e4eaeea0c0605.zip
llvm-a289f66efd638c2af14cdb88968e4eaeea0c0605.tar.gz
llvm-a289f66efd638c2af14cdb88968e4eaeea0c0605.tar.bz2
Revert "[lldb] Store SupportFile in FileEntry (NFC)" (#85885)
Reverts llvm/llvm-project#85468 because @slackito reports this broke stepping in one of their tests [1] and this patch was meant to be NFC. [1] https://github.com/llvm/llvm-project/commit/d5a277d309e92b1d3e493da6036cffdf815105b1#commitcomment-139991120
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index aee4e84..cf4f8cc 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -1705,7 +1705,7 @@ protected:
line = sym_ctx.line_entry.line + m_options.m_line_offset;
// Try the current file, but override if asked.
- FileSpec file = sym_ctx.line_entry.file_sp->GetSpecOnly();
+ FileSpec file = sym_ctx.line_entry.file;
if (m_options.m_filenames.GetSize() == 1)
file = m_options.m_filenames.GetFileSpecAtIndex(0);