Lines Matching full:symbol

1 //===- CompilandDumper.cpp - llvm-pdbdump compiland symbol dumper *- C++ *-===//
41 void CompilandDumper::dump(const PDBSymbolCompilandDetails &Symbol) {} in dump() argument
43 void CompilandDumper::dump(const PDBSymbolCompilandEnv &Symbol) {} in dump() argument
45 void CompilandDumper::start(const PDBSymbolCompiland &Symbol, bool Children) { in start() argument
46 std::string FullName = Symbol.getName(); in start()
55 auto ChildrenEnum = Symbol.findAllChildren(); in start()
62 void CompilandDumper::dump(const PDBSymbolData &Symbol) { in dump() argument
63 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump()
68 switch (auto LocType = Symbol.getLocationType()) { in dump()
72 << "[" << format_hex(Symbol.getRelativeVirtualAddress(), 10) << "]"; in dump()
77 << "[" << Symbol.getValue() << "]"; in dump()
84 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in dump()
87 void CompilandDumper::dump(const PDBSymbolFunc &Symbol) { in dump() argument
88 if (Symbol.getLength() == 0) in dump()
90 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump()
95 Dumper.start(Symbol, FunctionDumper::PointerType::None); in dump()
98 void CompilandDumper::dump(const PDBSymbolLabel &Symbol) { in dump() argument
99 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump()
105 << "[" << format_hex(Symbol.getRelativeVirtualAddress(), 10) << "] "; in dump()
106 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in dump()
109 void CompilandDumper::dump(const PDBSymbolThunk &Symbol) { in dump() argument
110 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump()
115 PDB_ThunkOrdinal Ordinal = Symbol.getThunkOrdinal(); in dump()
116 uint32_t RVA = Symbol.getRelativeVirtualAddress(); in dump()
118 uint32_t Target = Symbol.getTargetRelativeVirtualAddress(); in dump()
125 << format_hex(RVA + Symbol.getLength(), 10) << "]"; in dump()
130 std::string Name = Symbol.getName(); in dump()
135 void CompilandDumper::dump(const PDBSymbolTypeTypedef &Symbol) {} in dump() argument
137 void CompilandDumper::dump(const PDBSymbolUnknown &Symbol) { in dump() argument
139 Printer << "unknown (" << Symbol.getSymTag() << ")"; in dump()