LLDB mainline
|
#include "PdbUtil.h"
#include "DWARFLocationExpression.h"
#include "PdbIndex.h"
#include "PdbSymUid.h"
#include "llvm/DebugInfo/CodeView/CVTypeVisitor.h"
#include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
#include "llvm/DebugInfo/CodeView/TypeDeserializer.h"
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
#include "Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.h"
#include "Plugins/SymbolFile/NativePDB/CodeViewRegisterMapping.h"
#include "lldb/Symbol/Block.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/lldb-enumerations.h"
Go to the source code of this file.
Functions | |
static Variable::RangeList | MakeRangeList (const PdbIndex &index, const LocalVariableAddrRange &range, llvm::ArrayRef< LocalVariableAddrGap > gaps) |
template<typename RecordT > | |
RecordT | createRecord (const CVSymbol &sym) |
template<typename RecordT > | |
static SegmentOffset | GetSegmentAndOffset (const CVSymbol &sym) |
template<> | |
SegmentOffset | GetSegmentAndOffset< TrampolineSym > (const CVSymbol &sym) |
template<> | |
SegmentOffset | GetSegmentAndOffset< Thunk32Sym > (const CVSymbol &sym) |
template<> | |
SegmentOffset | GetSegmentAndOffset< CoffGroupSym > (const CVSymbol &sym) |
template<> | |
SegmentOffset | GetSegmentAndOffset< DataSym > (const CVSymbol &sym) |
template<> | |
SegmentOffset | GetSegmentAndOffset< ThreadLocalDataSym > (const CVSymbol &sym) |
template<typename RecordT > | |
SegmentOffsetLength | GetSegmentOffsetAndLength (const CVSymbol &sym) |
template<> | |
SegmentOffsetLength | GetSegmentOffsetAndLength< TrampolineSym > (const CVSymbol &sym) |
template<> | |
SegmentOffsetLength | GetSegmentOffsetAndLength< Thunk32Sym > (const CVSymbol &sym) |
template<> | |
SegmentOffsetLength | GetSegmentOffsetAndLength< CoffGroupSym > (const CVSymbol &sym) |
static llvm::FixedStreamArray< FrameData >::Iterator | GetCorrespondingFrameData (lldb::addr_t load_addr, const DebugFrameDataSubsectionRef &fpo_data, const Variable::RangeList &ranges) |
static bool | GetFrameDataProgram (PdbIndex &index, const Variable::RangeList &ranges, llvm::StringRef &out_program) |
static RegisterId | GetBaseFrameRegister (PdbIndex &index, PdbCompilandSymId frame_proc_id, bool is_parameter) |
template<typename RecordType > | |
static size_t | GetSizeOfTypeInternal (CVType cvt) |
RecordT createRecord | ( | const CVSymbol & | sym | ) |
Definition at line 356 of file PdbUtil.cpp.
|
static |
Definition at line 715 of file PdbUtil.cpp.
References lldb_private::npdb::PdbIndex::compilands(), lldb_private::npdb::CompileUnitIndex::GetCompiland(), lldb_private::npdb::CompilandIndexItem::m_compile_opts, lldb_private::npdb::PdbCompilandSymId::modi, and lldb_private::npdb::PdbIndex::ReadSymbolRecord().
Referenced by lldb_private::npdb::GetVariableLocationInfo().
|
static |
Definition at line 661 of file PdbUtil.cpp.
References lldb_private::RangeVector< B, S, N >::GetEntryRef(), lldb_private::RangeVector< B, S, N >::IsEmpty(), and lldbassert.
Referenced by GetFrameDataProgram().
|
static |
Definition at line 695 of file PdbUtil.cpp.
References lldb_private::npdb::PdbIndex::dbi(), GetCorrespondingFrameData(), lldb_private::npdb::PdbIndex::GetLoadAddress(), and lldb_private::npdb::PdbIndex::pdb().
Referenced by lldb_private::npdb::GetVariableLocationInfo().
|
static |
Definition at line 363 of file PdbUtil.cpp.
SegmentOffset GetSegmentAndOffset< CoffGroupSym > | ( | const CVSymbol & | sym | ) |
Definition at line 380 of file PdbUtil.cpp.
SegmentOffset GetSegmentAndOffset< DataSym > | ( | const CVSymbol & | sym | ) |
Definition at line 385 of file PdbUtil.cpp.
SegmentOffset GetSegmentAndOffset< ThreadLocalDataSym > | ( | const CVSymbol & | sym | ) |
Definition at line 391 of file PdbUtil.cpp.
SegmentOffset GetSegmentAndOffset< Thunk32Sym > | ( | const CVSymbol & | sym | ) |
Definition at line 374 of file PdbUtil.cpp.
SegmentOffset GetSegmentAndOffset< TrampolineSym > | ( | const CVSymbol & | sym | ) |
Definition at line 369 of file PdbUtil.cpp.
SegmentOffsetLength GetSegmentOffsetAndLength | ( | const CVSymbol & | sym | ) |
Definition at line 443 of file PdbUtil.cpp.
SegmentOffsetLength GetSegmentOffsetAndLength< CoffGroupSym > | ( | const CVSymbol & | sym | ) |
Definition at line 462 of file PdbUtil.cpp.
SegmentOffsetLength GetSegmentOffsetAndLength< Thunk32Sym > | ( | const CVSymbol & | sym | ) |
Definition at line 456 of file PdbUtil.cpp.
SegmentOffsetLength GetSegmentOffsetAndLength< TrampolineSym > | ( | const CVSymbol & | sym | ) |
Definition at line 449 of file PdbUtil.cpp.
|
static |
Definition at line 1063 of file PdbUtil.cpp.
|
static |
Definition at line 36 of file PdbUtil.cpp.
References lldb_private::RangeVector< B, S, N >::Append(), LLDB_INVALID_ADDRESS, and lldb_private::npdb::PdbIndex::MakeVirtualAddress().
Referenced by lldb_private::npdb::GetVariableLocationInfo().