We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Function::GetStartLineSourceInfo
1 parent da89289 commit fdb7858Copy full SHA for fdb7858
lldb/source/Plugins/Language/Swift/SwiftFrameRecognizers.cpp
@@ -197,12 +197,13 @@ class SwiftHiddenFrameRecognizer : public StackFrameRecognizer {
197
if (!sc.function)
198
return {};
199
200
- FileSpec source_file;
+ SupportFileSP source_file_sp;
201
uint32_t line_no;
202
- sc.function->GetStartLineSourceInfo(source_file, line_no);
+ sc.function->GetStartLineSourceInfo(source_file_sp, line_no);
203
// FIXME: these <compiler-generated> frames should be marked artificial
204
// by the Swift compiler.
205
- if (source_file.GetFilename() == "<compiler-generated>" && line_no == 0)
+ if (source_file_sp->GetSpecOnly().GetFilename() == "<compiler-generated>" &&
206
+ line_no == 0)
207
return m_hidden_frame;
208
209
auto symbol_name =
0 commit comments