Lines Matching refs:Symbol
33 void dumpClassParentWithScopeOperator(const T &Symbol, LinePrinter &Printer, in dumpClassParentWithScopeOperator() argument
35 uint32_t ClassParentId = Symbol.getClassParentId(); in dumpClassParentWithScopeOperator()
37 Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>( in dumpClassParentWithScopeOperator()
50 void FunctionDumper::start(const PDBSymbolTypeFunctionSig &Symbol, in start() argument
52 auto ReturnType = Symbol.getReturnType(); in start()
55 uint32_t ClassParentId = Symbol.getClassParentId(); in start()
57 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start()
60 PDB_CallingConv CC = Symbol.getCallingConvention(); in start()
95 if (auto ChildEnum = Symbol.getArguments()) { in start()
105 if (Symbol.isConstType()) in start()
107 if (Symbol.isVolatileType()) in start()
111 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { in start() argument
112 uint32_t FuncStart = Symbol.getRelativeVirtualAddress(); in start()
113 uint32_t FuncEnd = FuncStart + Symbol.getLength(); in start()
117 if (auto DebugStart = Symbol.findOneChild<PDBSymbolFuncDebugStart>()) { in start()
123 if (auto DebugEnd = Symbol.findOneChild<PDBSymbolFuncDebugEnd>()) { in start()
129 if (Symbol.hasFramePointer()) { in start()
131 << Symbol.getLocalBasePointerRegisterId(); in start()
137 if (Symbol.isVirtual() || Symbol.isPureVirtual()) in start()
140 auto Signature = Symbol.getSignature(); in start()
142 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in start()
154 auto ClassParent = Symbol.getClassParent(); in start()
164 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in start()
174 if (auto Arguments = Symbol.getArguments()) { in start()
186 if (Symbol.isConstType()) in start()
188 if (Symbol.isVolatileType()) in start()
190 if (Symbol.isPureVirtual()) in start()
194 void FunctionDumper::dump(const PDBSymbolTypeArray &Symbol) { in dump() argument
195 uint32_t ElementTypeId = Symbol.getTypeId(); in dump()
196 auto ElementType = Symbol.getSession().getSymbolById(ElementTypeId); in dump()
202 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getLength(); in dump()
206 void FunctionDumper::dump(const PDBSymbolTypeBuiltin &Symbol) { in dump() argument
208 Dumper.start(Symbol); in dump()
211 void FunctionDumper::dump(const PDBSymbolTypeEnum &Symbol) { in dump() argument
212 dumpClassParentWithScopeOperator(Symbol, Printer, *this); in dump()
213 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
216 void FunctionDumper::dump(const PDBSymbolTypeFunctionArg &Symbol) { in dump() argument
219 uint32_t TypeId = Symbol.getTypeId(); in dump()
220 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()
226 void FunctionDumper::dump(const PDBSymbolTypeTypedef &Symbol) { in dump() argument
227 dumpClassParentWithScopeOperator(Symbol, Printer, *this); in dump()
228 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
231 void FunctionDumper::dump(const PDBSymbolTypePointer &Symbol) { in dump() argument
232 uint32_t PointeeId = Symbol.getTypeId(); in dump()
233 auto PointeeType = Symbol.getSession().getSymbolById(PointeeId); in dump()
240 Symbol.isReference() ? PointerType::Reference : PointerType::Pointer; in dump()
243 if (Symbol.isConstType()) in dump()
245 if (Symbol.isVolatileType()) in dump()
248 Printer << (Symbol.isReference() ? "&" : "*"); in dump()
252 void FunctionDumper::dump(const PDBSymbolTypeUDT &Symbol) { in dump() argument
253 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()