[Lldb-commits] [lldb] dc100eb - [LLDB][NativePDB] Followup c50817d1bea4ac51ed776154014630a439176de6
    Zequan Wu via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Fri Apr 15 12:08:51 PDT 2022
    
    
  
Author: Zequan Wu
Date: 2022-04-15T12:08:44-07:00
New Revision: dc100ebfdabf9db484bf8069870299a593522aaf
URL: https://github.com/llvm/llvm-project/commit/dc100ebfdabf9db484bf8069870299a593522aaf
DIFF: https://github.com/llvm/llvm-project/commit/dc100ebfdabf9db484bf8069870299a593522aaf.diff
LOG: [LLDB][NativePDB] Followup c50817d1bea4ac51ed776154014630a439176de6
Added: 
    
Modified: 
    lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
Removed: 
    
################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
index b9c442187d586..04b3dd9cfa9ba 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<clang::ParmVarDecl *> params;
        
    
    
More information about the lldb-commits
mailing list