Lines Matching refs:Symbol
36 void dumpClassParentWithScopeOperator(const T &Symbol, LinePrinter &Printer, in dumpClassParentWithScopeOperator() argument
38 uint32_t ClassParentId = Symbol.getClassParentId(); in dumpClassParentWithScopeOperator()
40 Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>( in dumpClassParentWithScopeOperator()
53 void FunctionDumper::start(const PDBSymbolTypeFunctionSig &Symbol, in start() argument
55 auto ReturnType = Symbol.getReturnType(); in start()
61 uint32_t ClassParentId = Symbol.getClassParentId(); in start()
63 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start()
66 PDB_CallingConv CC = Symbol.getCallingConvention(); in start()
101 if (auto ChildEnum = Symbol.getArguments()) { in start()
111 if (Symbol.isConstType()) in start()
113 if (Symbol.isVolatileType()) in start()
117 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { in start() argument
118 uint64_t FuncStart = Symbol.getVirtualAddress(); in start()
119 uint64_t FuncEnd = FuncStart + Symbol.getLength(); in start()
123 if (auto DebugStart = Symbol.findOneChild<PDBSymbolFuncDebugStart>()) { in start()
130 if (auto DebugEnd = Symbol.findOneChild<PDBSymbolFuncDebugEnd>()) { in start()
137 << formatv(" | sizeof={0,3}", Symbol.getLength()); in start()
140 if (Symbol.hasFramePointer()) { in start()
142 << Symbol.getLocalBasePointerRegisterId(); in start()
148 if (Symbol.isVirtual() || Symbol.isPureVirtual()) in start()
151 auto Signature = Symbol.getSignature(); in start()
153 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in start()
165 auto ClassParent = Symbol.getClassParent(); in start()
175 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in start()
185 if (auto Arguments = Symbol.getArguments()) { in start()
199 if (Symbol.isConstType()) in start()
201 if (Symbol.isVolatileType()) in start()
203 if (Symbol.isPureVirtual()) in start()
207 void FunctionDumper::dump(const PDBSymbolTypeArray &Symbol) { in dump() argument
208 auto ElementType = Symbol.getElementType(); in dump()
212 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getLength(); in dump()
216 void FunctionDumper::dump(const PDBSymbolTypeBuiltin &Symbol) { in dump() argument
218 Dumper.start(Symbol); in dump()
221 void FunctionDumper::dump(const PDBSymbolTypeEnum &Symbol) { in dump() argument
222 dumpClassParentWithScopeOperator(Symbol, Printer, *this); in dump()
223 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
226 void FunctionDumper::dump(const PDBSymbolTypeFunctionArg &Symbol) { in dump() argument
229 uint32_t TypeId = Symbol.getTypeId(); in dump()
230 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()
237 void FunctionDumper::dump(const PDBSymbolTypeTypedef &Symbol) { in dump() argument
238 dumpClassParentWithScopeOperator(Symbol, Printer, *this); in dump()
239 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
242 void FunctionDumper::dump(const PDBSymbolTypePointer &Symbol) { in dump() argument
243 auto PointeeType = Symbol.getPointeeType(); in dump()
250 Symbol.isReference() ? PointerType::Reference : PointerType::Pointer; in dump()
253 if (Symbol.isConstType()) in dump()
255 if (Symbol.isVolatileType()) in dump()
258 Printer << (Symbol.isReference() ? "&" : "*"); in dump()
260 if (Symbol.getRawSymbol().isRestrictedType()) in dump()
265 void FunctionDumper::dump(const PDBSymbolTypeUDT &Symbol) { in dump() argument
266 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()