File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
lldb/source/Plugins/Language/Swift Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -197,12 +197,14 @@ class SwiftHiddenFrameRecognizer : public StackFrameRecognizer {
197
197
if (!sc.function )
198
198
return {};
199
199
200
- FileSpec source_file ;
200
+ SupportFileSP source_file_sp ;
201
201
uint32_t line_no;
202
- sc.function ->GetStartLineSourceInfo (source_file , line_no);
202
+ sc.function ->GetStartLineSourceInfo (source_file_sp , line_no);
203
203
// FIXME: these <compiler-generated> frames should be marked artificial
204
204
// by the Swift compiler.
205
- if (source_file.GetFilename () == " <compiler-generated>" && line_no == 0 )
205
+ if (source_file_sp &&
206
+ source_file_sp->GetSpecOnly ().GetFilename () == " <compiler-generated>" &&
207
+ line_no == 0 )
206
208
return m_hidden_frame;
207
209
208
210
auto symbol_name =
You can’t perform that action at this time.
0 commit comments