diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-03-15 15:03:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 15:03:54 -0700 |
commit | d5a277d309e92b1d3e493da6036cffdf815105b1 (patch) | |
tree | 5817003849eb8b2f53c0d20592645ffc50e9f8a8 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 8ebf4084f13d939eb33cd0a29d057158fa15a3a7 (diff) | |
download | llvm-d5a277d309e92b1d3e493da6036cffdf815105b1.zip llvm-d5a277d309e92b1d3e493da6036cffdf815105b1.tar.gz llvm-d5a277d309e92b1d3e493da6036cffdf815105b1.tar.bz2 |
[lldb] Store SupportFile in FileEntry (NFC) (#85468)
This is another step towards supporting DWARF5 checksums and inline
source code in LLDB.
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index cf4f8cc..aee4e84 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; + FileSpec file = sym_ctx.line_entry.file_sp->GetSpecOnly(); if (m_options.m_filenames.GetSize() == 1) file = m_options.m_filenames.GetFileSpecAtIndex(0); |