aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-03-21 08:40:08 -0700
committerGitHub <noreply@github.com>2024-03-21 08:40:08 -0700
commit556fe5f290ea88dcbb7ced16b0f057dcebce1fd0 (patch)
treeacfb8ed07343ee5c3d78ec896e735771e8a6ce0b /lldb/source/Commands/CommandObjectThread.cpp
parent0c8dfc85c3740bd8905e21642f616e6fd54854e0 (diff)
downloadllvm-556fe5f290ea88dcbb7ced16b0f057dcebce1fd0.zip
llvm-556fe5f290ea88dcbb7ced16b0f057dcebce1fd0.tar.gz
llvm-556fe5f290ea88dcbb7ced16b0f057dcebce1fd0.tar.bz2
[lldb] Reland: Store SupportFile in FileEntry (NFC) (#85892)
This is another step towards supporting DWARF5 checksums and inline source code in LLDB. This is a reland of #85468 but without the functional change of storing the support file from the line table (yet).
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 cf4f8cc..3dbbfd4 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.GetFile();
if (m_options.m_filenames.GetSize() == 1)
file = m_options.m_filenames.GetFileSpecAtIndex(0);