From dc100ebfdabf9db484bf8069870299a593522aaf Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Fri, 15 Apr 2022 12:08:38 -0700 Subject: [PATCH] [LLDB][NativePDB] Followup c50817d1bea4ac51ed776154014630a439176de6 --- lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp index b9c4421..04b3dd9 100644 --- a/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp +++ b/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp @@ -1251,6 +1251,7 @@ void PdbAstBuilder::CreateFunctionParameters(PdbCompilandSymId func_id, CVSymbolArray scope = cii->m_debug_stream.getSymbolArrayForScope(func_id.offset); + scope.drop_front(); auto begin = scope.begin(); auto end = scope.end(); std::vector params; -- 2.7.4