• Home
  • Raw
  • Download

Lines Matching full:symbol

1 //===- CompilandDumper.cpp - llvm-pdbdump compiland symbol dumper *- C++ *-===//
43 void CompilandDumper::dump(const PDBSymbolCompilandDetails &Symbol) {} in dump() argument
45 void CompilandDumper::dump(const PDBSymbolCompilandEnv &Symbol) {} in dump() argument
47 void CompilandDumper::start(const PDBSymbolCompiland &Symbol, in start() argument
49 std::string FullName = Symbol.getName(); in start()
57 const IPDBSession &Session = Symbol.getSession(); in start()
58 auto Files = Session.getSourceFilesForCompiland(Symbol); in start()
64 auto Lines = Session.findLineNumbers(Symbol, *File); in start()
100 auto ChildrenEnum = Symbol.findAllChildren(); in start()
108 void CompilandDumper::dump(const PDBSymbolData &Symbol) { in dump() argument
109 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump()
114 switch (auto LocType = Symbol.getLocationType()) { in dump()
118 << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "]"; in dump()
123 << "[" << Symbol.getValue() << "]"; in dump()
130 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in dump()
133 void CompilandDumper::dump(const PDBSymbolFunc &Symbol) { in dump() argument
134 if (Symbol.getLength() == 0) in dump()
136 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump()
141 Dumper.start(Symbol, FunctionDumper::PointerType::None); in dump()
144 void CompilandDumper::dump(const PDBSymbolLabel &Symbol) { in dump() argument
145 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump()
151 << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "] "; in dump()
152 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in dump()
155 void CompilandDumper::dump(const PDBSymbolThunk &Symbol) { in dump() argument
156 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump()
161 codeview::ThunkOrdinal Ordinal = Symbol.getThunkOrdinal(); in dump()
162 uint64_t VA = Symbol.getVirtualAddress(); in dump()
164 uint64_t Target = Symbol.getTargetVirtualAddress(); in dump()
171 << format_hex(VA + Symbol.getLength(), 10) << "]"; in dump()
176 std::string Name = Symbol.getName(); in dump()
181 void CompilandDumper::dump(const PDBSymbolTypeTypedef &Symbol) {} in dump() argument
183 void CompilandDumper::dump(const PDBSymbolUnknown &Symbol) { in dump() argument
185 Printer << "unknown (" << Symbol.getSymTag() << ")"; in dump()