Lines Matching full: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()
58 uint32_t ClassParentId = Symbol.getClassParentId(); in start()
60 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start()
63 PDB_CallingConv CC = Symbol.getCallingConvention(); in start()
98 if (auto ChildEnum = Symbol.getArguments()) { in start()
108 if (Symbol.isConstType()) in start()
110 if (Symbol.isVolatileType()) in start()
114 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { in start() argument
115 uint64_t FuncStart = Symbol.getVirtualAddress(); in start()
116 uint64_t FuncEnd = FuncStart + Symbol.getLength(); in start()
120 if (auto DebugStart = Symbol.findOneChild<PDBSymbolFuncDebugStart>()) { in start()
126 if (auto DebugEnd = Symbol.findOneChild<PDBSymbolFuncDebugEnd>()) { in start()
132 if (Symbol.hasFramePointer()) { in start()
134 << Symbol.getLocalBasePointerRegisterId(); in start()
140 if (Symbol.isVirtual() || Symbol.isPureVirtual()) in start()
143 auto Signature = Symbol.getSignature(); in start()
145 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in start()
157 auto ClassParent = Symbol.getClassParent(); in start()
167 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in start()
177 if (auto Arguments = Symbol.getArguments()) { in start()
189 if (Symbol.isConstType()) in start()
191 if (Symbol.isVolatileType()) in start()
193 if (Symbol.isPureVirtual()) in start()
197 void FunctionDumper::dump(const PDBSymbolTypeArray &Symbol) { in dump() argument
198 uint32_t ElementTypeId = Symbol.getTypeId(); in dump()
199 auto ElementType = Symbol.getSession().getSymbolById(ElementTypeId); in dump()
205 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getLength(); in dump()
209 void FunctionDumper::dump(const PDBSymbolTypeBuiltin &Symbol) { in dump() argument
211 Dumper.start(Symbol); in dump()
214 void FunctionDumper::dump(const PDBSymbolTypeEnum &Symbol) { in dump() argument
215 dumpClassParentWithScopeOperator(Symbol, Printer, *this); in dump()
216 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
219 void FunctionDumper::dump(const PDBSymbolTypeFunctionArg &Symbol) { in dump() argument
222 uint32_t TypeId = Symbol.getTypeId(); in dump()
223 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()
229 void FunctionDumper::dump(const PDBSymbolTypeTypedef &Symbol) { in dump() argument
230 dumpClassParentWithScopeOperator(Symbol, Printer, *this); in dump()
231 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
234 void FunctionDumper::dump(const PDBSymbolTypePointer &Symbol) { in dump() argument
235 uint32_t PointeeId = Symbol.getTypeId(); in dump()
236 auto PointeeType = Symbol.getSession().getSymbolById(PointeeId); in dump()
243 Symbol.isReference() ? PointerType::Reference : PointerType::Pointer; in dump()
246 if (Symbol.isConstType()) in dump()
248 if (Symbol.isVolatileType()) in dump()
251 Printer << (Symbol.isReference() ? "&" : "*"); in dump()
255 void FunctionDumper::dump(const PDBSymbolTypeUDT &Symbol) { in dump() argument
256 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()