mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
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]
d5a277d309 (commitcomment-139991120)
This commit is contained in:
committed by
GitHub
parent
e2fa90fa0a
commit
a289f66efd
@@ -780,8 +780,8 @@ private:
|
||||
} else {
|
||||
const SymbolContext &sc =
|
||||
cur_frame->GetSymbolContext(eSymbolContextLineEntry);
|
||||
if (sc.line_entry.GetFile()) {
|
||||
file = sc.line_entry.GetFile();
|
||||
if (sc.line_entry.file) {
|
||||
file = sc.line_entry.file;
|
||||
} else {
|
||||
result.AppendError("Can't find the file for the selected frame to "
|
||||
"use as the default file.");
|
||||
|
||||
Reference in New Issue
Block a user