#include "TypeReferenceTracker.h"
#include "llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h"
#include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"
#include "llvm/DebugInfo/PDB/Native/NativeSession.h"
#include "llvm/DebugInfo/PDB/Native/PDBFile.h"
#include "llvm/DebugInfo/PDB/Native/SymbolStream.h"
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
#include "llvm/Object/COFF.h"
usingnamespacellvm;
usingnamespacellvm::pdb;
usingnamespacellvm::codeview;
static uint32_t getNumRecordsInCollection(LazyRandomTypeCollection &Types) { … }
TypeReferenceTracker::TypeReferenceTracker(InputFile &File)
: … { … }
void TypeReferenceTracker::mark() { … }
void TypeReferenceTracker::addOneTypeRef(TiRefKind RefKind, TypeIndex RefTI) { … }
void TypeReferenceTracker::addTypeRefsFromSymbol(const CVSymbol &Sym) { … }
void TypeReferenceTracker::addReferencedTypes(ArrayRef<uint8_t> RecData,
ArrayRef<TiReference> DepList) { … }
void TypeReferenceTracker::markReferencedTypes() { … }