LLVM: lib/DebugInfo/PDB/Native/NativeTypeArray.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

10

14

15using namespace llvm;

18

25

30

34

37 RecurseIdFields);

43}

44

46 return Session.getSymbolCache().findSymbolByTypeIndex(Record.getIndexType());

47}

48

50

52

54

60

62 return Session.getSymbolCache().findSymbolByTypeIndex(

63 Record.getElementType());

64}

65

uint64_t getLength() const override

NativeRawSymbol(NativeSession &PDBSession, PDB_SymType Tag, SymIndexId SymbolId)

void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override

bool isVolatileType() const override

Definition NativeTypeArray.cpp:53

bool isUnalignedType() const override

Definition NativeTypeArray.cpp:51

codeview::TypeIndex Index

uint64_t getLength() const override

Definition NativeTypeArray.cpp:66

bool isConstType() const override

Definition NativeTypeArray.cpp:49

SymIndexId getArrayIndexTypeId() const override

Definition NativeTypeArray.cpp:45

void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override

Definition NativeTypeArray.cpp:26

~NativeTypeArray() override

uint32_t getCount() const override

Definition NativeTypeArray.cpp:55

codeview::ArrayRecord Record

SymIndexId getTypeId() const override

Definition NativeTypeArray.cpp:61

NativeTypeArray(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, codeview::ArrayRecord Record)

Definition NativeTypeArray.cpp:19

This class implements an extremely fast bulk output stream that can only output to a stream.

void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent)

PDB_SymType

These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....

LLVM_ABI void dumpSymbolIdField(raw_ostream &OS, StringRef Name, SymIndexId Value, int Indent, const IPDBSession &Session, PdbSymbolIdField FieldId, PdbSymbolIdField ShowFlags, PdbSymbolIdField RecurseFlags)

This is an optimization pass for GlobalISel generic memory operations.