mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 22:53:05 +08:00
[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).
This commit is contained in:
committed by
GitHub
parent
0c8dfc85c3
commit
556fe5f290
@@ -1922,7 +1922,7 @@ bool StackFrame::GetStatus(Stream &strm, bool show_frame_info, bool show_source,
|
||||
|
||||
size_t num_lines =
|
||||
target->GetSourceManager().DisplaySourceLinesWithLineNumbers(
|
||||
m_sc.line_entry.file, start_line, m_sc.line_entry.column,
|
||||
m_sc.line_entry.GetFile(), start_line, m_sc.line_entry.column,
|
||||
source_lines_before, source_lines_after, "->", &strm);
|
||||
if (num_lines != 0)
|
||||
have_source = true;
|
||||
|
||||
Reference in New Issue
Block a user