Lines Matching refs:Symbol

38 void dumpClassParentWithScopeOperator(const T &Symbol, LinePrinter &Printer,  in dumpClassParentWithScopeOperator()  argument
40 uint32_t ClassParentId = Symbol.getClassParentId(); in dumpClassParentWithScopeOperator()
42 Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>( in dumpClassParentWithScopeOperator()
55 void FunctionDumper::start(const PDBSymbolTypeFunctionSig &Symbol, in start() argument
57 auto ReturnType = Symbol.getReturnType(); in start()
63 uint32_t ClassParentId = Symbol.getClassParentId(); in start()
65 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start()
68 PDB_CallingConv CC = Symbol.getCallingConvention(); in start()
103 if (auto ChildEnum = Symbol.getArguments()) { in start()
113 if (Symbol.isConstType()) in start()
115 if (Symbol.isVolatileType()) in start()
119 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { in start() argument
120 uint64_t FuncStart = Symbol.getVirtualAddress(); in start()
121 uint64_t FuncEnd = FuncStart + Symbol.getLength(); in start()
125 if (auto DebugStart = Symbol.findOneChild<PDBSymbolFuncDebugStart>()) { in start()
132 if (auto DebugEnd = Symbol.findOneChild<PDBSymbolFuncDebugEnd>()) { in start()
139 << formatv(" | sizeof={0,3}", Symbol.getLength()); in start()
142 if (Symbol.hasFramePointer()) { in start()
144 << CPURegister{Symbol.getRawSymbol().getPlatform(), in start()
145 Symbol.getLocalBasePointerRegisterId()}; in start()
151 if (Symbol.isVirtual() || Symbol.isPureVirtual()) in start()
154 auto Signature = Symbol.getSignature(); in start()
156 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in start()
168 auto ClassParent = Symbol.getClassParent(); in start()
178 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in start()
188 if (auto Arguments = Symbol.getArguments()) { in start()
202 if (Symbol.isConstType()) in start()
204 if (Symbol.isVolatileType()) in start()
206 if (Symbol.isPureVirtual()) in start()
210 void FunctionDumper::dump(const PDBSymbolTypeArray &Symbol) { in dump() argument
211 auto ElementType = Symbol.getElementType(); in dump()
215 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getLength(); in dump()
219 void FunctionDumper::dump(const PDBSymbolTypeBuiltin &Symbol) { in dump() argument
221 Dumper.start(Symbol); in dump()
224 void FunctionDumper::dump(const PDBSymbolTypeEnum &Symbol) { in dump() argument
225 dumpClassParentWithScopeOperator(Symbol, Printer, *this); in dump()
226 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
229 void FunctionDumper::dump(const PDBSymbolTypeFunctionArg &Symbol) { in dump() argument
232 uint32_t TypeId = Symbol.getTypeId(); in dump()
233 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()
240 void FunctionDumper::dump(const PDBSymbolTypeTypedef &Symbol) { in dump() argument
241 dumpClassParentWithScopeOperator(Symbol, Printer, *this); in dump()
242 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
245 void FunctionDumper::dump(const PDBSymbolTypePointer &Symbol) { in dump() argument
246 auto PointeeType = Symbol.getPointeeType(); in dump()
253 Symbol.isReference() ? PointerType::Reference : PointerType::Pointer; in dump()
256 if (Symbol.isConstType()) in dump()
258 if (Symbol.isVolatileType()) in dump()
261 Printer << (Symbol.isReference() ? "&" : "*"); in dump()
263 if (Symbol.getRawSymbol().isRestrictedType()) in dump()
268 void FunctionDumper::dump(const PDBSymbolTypeUDT &Symbol) { in dump() argument
269 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()