#include "llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h"
#include "llvm/DebugInfo/CodeView/CVRecord.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/DebugInfo/PDB/Native/ModuleDebugStream.h"
#include "llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h"
#include "llvm/DebugInfo/PDB/Native/NativeSession.h"
#include "llvm/DebugInfo/PDB/Native/SymbolCache.h"
#include "llvm/DebugInfo/PDB/PDBExtras.h"
usingnamespacellvm;
usingnamespacellvm::codeview;
usingnamespacellvm::pdb;
NativeFunctionSymbol::NativeFunctionSymbol(NativeSession &Session,
SymIndexId Id,
const codeview::ProcSym &Sym,
uint32_t Offset)
: … { … }
NativeFunctionSymbol::~NativeFunctionSymbol() = default;
void NativeFunctionSymbol::dump(raw_ostream &OS, int Indent,
PdbSymbolIdField ShowIdFields,
PdbSymbolIdField RecurseIdFields) const { … }
uint32_t NativeFunctionSymbol::getAddressOffset() const { … }
uint32_t NativeFunctionSymbol::getAddressSection() const { … }
std::string NativeFunctionSymbol::getName() const { … }
uint64_t NativeFunctionSymbol::getLength() const { … }
uint32_t NativeFunctionSymbol::getRelativeVirtualAddress() const { … }
uint64_t NativeFunctionSymbol::getVirtualAddress() const { … }
static bool inlineSiteContainsAddress(InlineSiteSym &IS,
uint32_t OffsetInFunc) { … }
std::unique_ptr<IPDBEnumSymbols>
NativeFunctionSymbol::findInlineFramesByVA(uint64_t VA) const { … }