Home
last modified time | relevance | path

Searched refs:var_id (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h228 lldb::VariableSP GetOrCreateGlobalVariable(PdbGlobalSymId var_id);
231 PdbCompilandSymId var_id,
239 PdbCompilandSymId var_id, bool is_param);
244 lldb::VariableSP CreateGlobalVariable(PdbGlobalSymId var_id);
245 lldb::VariableSP CreateConstantSymbol(PdbGlobalSymId var_id,
H A DSymbolFileNativePDB.cpp842 VariableSP SymbolFileNativePDB::CreateGlobalVariable(PdbGlobalSymId var_id) { in CreateGlobalVariable() argument
843 CVSymbol sym = m_index->symrecords().readRecord(var_id.offset); in CreateGlobalVariable()
845 return CreateConstantSymbol(var_id, sym); in CreateGlobalVariable()
910 ts->GetNativePDBParser()->GetOrCreateVariableDecl(var_id); in CreateGlobalVariable()
923 toOpaqueUid(var_id), name.str().c_str(), global_name.c_str(), type_sp, in CreateGlobalVariable()
931 SymbolFileNativePDB::CreateConstantSymbol(PdbGlobalSymId var_id, in CreateConstantSymbol() argument
956 toOpaqueUid(var_id), constant.Name.str().c_str(), global_name.c_str(), in CreateConstantSymbol()
963 SymbolFileNativePDB::GetOrCreateGlobalVariable(PdbGlobalSymId var_id) { in GetOrCreateGlobalVariable() argument
964 auto emplace_result = m_global_vars.try_emplace(toOpaqueUid(var_id), nullptr); in GetOrCreateGlobalVariable()
966 if (VariableSP var_sp = CreateGlobalVariable(var_id)) in GetOrCreateGlobalVariable()
[all …]
H A DPdbAstBuilder.h70 PdbCompilandSymId var_id);
71 clang::VarDecl *GetOrCreateVariableDecl(PdbGlobalSymId var_id);
H A DPdbAstBuilder.cpp691 PdbCompilandSymId var_id) { in GetOrCreateVariableDecl()
692 if (clang::Decl *decl = TryGetDecl(var_id)) in GetOrCreateVariableDecl()
702 CVSymbol sym = index.ReadSymbolRecord(var_id); in GetOrCreateVariableDecl()
703 return CreateVariableDecl(PdbSymUid(var_id), sym, *scope); in GetOrCreateVariableDecl()
706 clang::VarDecl *PdbAstBuilder::GetOrCreateVariableDecl(PdbGlobalSymId var_id) { in GetOrCreateVariableDecl()
707 if (clang::Decl *decl = TryGetDecl(var_id)) in GetOrCreateVariableDecl()
713 CVSymbol sym = index.ReadSymbolRecord(var_id); in GetOrCreateVariableDecl()
715 return CreateVariableDecl(PdbSymUid(var_id), sym, *context); in GetOrCreateVariableDecl()
690 GetOrCreateVariableDecl(PdbCompilandSymId scope_id,PdbCompilandSymId var_id) GetOrCreateVariableDecl() argument
705 GetOrCreateVariableDecl(PdbGlobalSymId var_id) GetOrCreateVariableDecl() argument
H A DPdbUtil.h143 VariableInfo GetVariableLocationInfo(PdbIndex &index, PdbCompilandSymId var_id,
H A DPdbUtil.cpp735 PdbIndex &index, PdbCompilandSymId var_id, Block &func_block, in GetVariableLocationInfo() argument
738 CVSymbol sym = index.ReadSymbolRecord(var_id); in GetVariableLocationInfo()
768 PdbCompilandSymId loc_specifier_id(var_id.modi, in GetVariableLocationInfo()
769 var_id.offset + sym.RecordData.size()); in GetVariableLocationInfo()