| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| D | CodeViewYAMLSymbols.cpp | 243 : SymbolRecordBase(K), Symbol(static_cast<SymbolRecordKind>(K)) {} in SymbolRecordImpl() 250 return SymbolSerializer::writeOneSymbol(Symbol, Allocator, Container); in toCodeViewSymbol() 254 return SymbolDeserializer::deserializeAs<T>(CVS, Symbol); in fromCodeViewSymbol() 257 mutable T Symbol; member 303 IO.mapRequired("Parent", Symbol.Parent); in map() 304 IO.mapRequired("End", Symbol.End); in map() 305 IO.mapRequired("Next", Symbol.Next); in map() 306 IO.mapRequired("Off", Symbol.Offset); in map() 307 IO.mapRequired("Seg", Symbol.Segment); in map() 308 IO.mapRequired("Len", Symbol.Length); in map() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
| D | PDBSymDumper.h | 24 virtual void dump(const PDBSymbolAnnotation &Symbol); 25 virtual void dump(const PDBSymbolBlock &Symbol); 26 virtual void dump(const PDBSymbolCompiland &Symbol); 27 virtual void dump(const PDBSymbolCompilandDetails &Symbol); 28 virtual void dump(const PDBSymbolCompilandEnv &Symbol); 29 virtual void dump(const PDBSymbolCustom &Symbol); 30 virtual void dump(const PDBSymbolData &Symbol); 31 virtual void dump(const PDBSymbolExe &Symbol); 32 virtual void dump(const PDBSymbolFunc &Symbol); 33 virtual void dump(const PDBSymbolFuncDebugEnd &Symbol); [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
| D | DIARawSymbol.cpp | 96 ArgType PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue() argument 99 if (S_OK == (Symbol->*Method)(&Value)) in PrivateGetDIAValue() 106 RetType PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue() argument 109 if (S_OK == (Symbol->*Method)(&Value)) in PrivateGetDIAValue() 116 PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue() argument 118 return invokeBstrMethod(*Symbol, Method); in PrivateGetDIAValue() 122 PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue() argument 125 if (S_OK != (Symbol->*Method)(&Result)) in PrivateGetDIAValue() 137 IDiaSymbol *Symbol, in DumpDIAValueAs() argument 140 if (S_OK == (Symbol->*Method)(&Value)) in DumpDIAValueAs() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| D | PrettyFunctionDumper.cpp | 35 void dumpClassParentWithScopeOperator(const T &Symbol, LinePrinter &Printer, in dumpClassParentWithScopeOperator() argument 37 uint32_t ClassParentId = Symbol.getClassParentId(); in dumpClassParentWithScopeOperator() 39 Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>( in dumpClassParentWithScopeOperator() 52 void FunctionDumper::start(const PDBSymbolTypeFunctionSig &Symbol, in start() argument 54 auto ReturnType = Symbol.getReturnType(); in start() 60 uint32_t ClassParentId = Symbol.getClassParentId(); in start() 62 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start() 65 PDB_CallingConv CC = Symbol.getCallingConvention(); in start() 100 if (auto ChildEnum = Symbol.getArguments()) { in start() 110 if (Symbol.isConstType()) in start() [all …]
|
| D | PrettyCompilandDumper.cpp | 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 if (auto Files = Session.getSourceFilesForCompiland(Symbol)) { in start() 70 auto Lines = Session.findLineNumbers(Symbol, *File); in start() 119 if (auto ChildrenEnum = Symbol.findAllChildren()) { in start() 128 void CompilandDumper::dump(const PDBSymbolData &Symbol) { in dump() argument 131 if (Printer.IsSymbolExcluded(Symbol.getName())) in dump() [all …]
|
| D | PrettyTypedefDumper.cpp | 29 void TypedefDumper::start(const PDBSymbolTypeTypedef &Symbol) { in start() argument 31 uint32_t TargetId = Symbol.getTypeId(); in start() 32 if (auto TypeSymbol = Symbol.getSession().getSymbolById(TargetId)) in start() 35 << Symbol.getName(); in start() 38 void TypedefDumper::dump(const PDBSymbolTypeArray &Symbol) { in dump() argument 40 Dumper.dump(Symbol); in dump() 43 void TypedefDumper::dump(const PDBSymbolTypeBuiltin &Symbol) { in dump() argument 45 Dumper.start(Symbol); in dump() 48 void TypedefDumper::dump(const PDBSymbolTypeEnum &Symbol) { in dump() argument 50 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump() [all …]
|
| D | PrettyVariableDumper.cpp | 112 void VariableDumper::dump(const PDBSymbolTypeArray &Symbol) { in dump() argument 113 auto ElementType = Symbol.getElementType(); in dump() 120 void VariableDumper::dumpRight(const PDBSymbolTypeArray &Symbol) { in dumpRight() argument 121 auto ElementType = Symbol.getElementType(); in dumpRight() 125 Printer << '[' << Symbol.getCount() << ']'; in dumpRight() 129 void VariableDumper::dump(const PDBSymbolTypeBuiltin &Symbol) { in dump() argument 131 Dumper.start(Symbol); in dump() 134 void VariableDumper::dump(const PDBSymbolTypeEnum &Symbol) { in dump() argument 135 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump() 138 void VariableDumper::dump(const PDBSymbolTypeFunctionSig &Symbol) { in dump() argument [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
| D | PDBSymDumper.cpp | 24 void PDBSymDumper::dump(const PDBSymbolAnnotation &Symbol) { in dump() argument 28 void PDBSymDumper::dump(const PDBSymbolBlock &Symbol) { in dump() argument 32 void PDBSymDumper::dump(const PDBSymbolCompiland &Symbol) { in dump() argument 36 void PDBSymDumper::dump(const PDBSymbolCompilandDetails &Symbol) { in dump() argument 40 void PDBSymDumper::dump(const PDBSymbolCompilandEnv &Symbol) { in dump() argument 44 void PDBSymDumper::dump(const PDBSymbolCustom &Symbol) { in dump() argument 48 void PDBSymDumper::dump(const PDBSymbolData &Symbol) { in dump() argument 52 void PDBSymDumper::dump(const PDBSymbolExe &Symbol) { in dump() argument 56 void PDBSymDumper::dump(const PDBSymbolFunc &Symbol) { in dump() argument 60 void PDBSymDumper::dump(const PDBSymbolFuncDebugEnd &Symbol) { in dump() argument [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/ |
| D | MCMachOStreamer.cpp | 85 void emitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override; 86 void emitAssignment(MCSymbol *Symbol, const MCExpr *Value) override; 87 void emitEHSymAttributes(const MCSymbol *Symbol, MCSymbol *EHSymbol) override; 96 bool emitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override; 97 void emitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override; 98 void emitCommonSymbol(MCSymbol *Symbol, uint64_t Size, 101 void emitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size, 103 void emitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr, 106 void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size, 172 void MCMachOStreamer::emitEHSymAttributes(const MCSymbol *Symbol, in emitEHSymAttributes() argument [all …]
|
| D | MCWinCOFFStreamer.cpp | 86 auto *Symbol = cast<MCSymbolCOFF>(S); in emitLabel() local 87 MCObjectStreamer::emitLabel(Symbol, Loc); in emitLabel() 112 auto *Symbol = cast<MCSymbolCOFF>(S); in emitSymbolAttribute() local 113 getAssembler().registerSymbol(*Symbol); in emitSymbolAttribute() 119 Symbol->setIsWeakExternal(); in emitSymbolAttribute() 120 Symbol->setExternal(true); in emitSymbolAttribute() 123 Symbol->setExternal(true); in emitSymbolAttribute() 132 void MCWinCOFFStreamer::emitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) { in emitSymbolDesc() argument 137 auto *Symbol = cast<MCSymbolCOFF>(S); in BeginCOFFSymbolDef() local 141 CurSymbol = Symbol; in BeginCOFFSymbolDef() [all …]
|
| D | MCXCOFFStreamer.cpp | 34 auto *Symbol = cast<MCSymbolXCOFF>(Sym); in emitSymbolAttribute() local 35 getAssembler().registerSymbol(*Symbol); in emitSymbolAttribute() 40 Symbol->setStorageClass(XCOFF::C_EXT); in emitSymbolAttribute() 41 Symbol->setExternal(true); in emitSymbolAttribute() 44 Symbol->setStorageClass(XCOFF::C_HIDEXT); in emitSymbolAttribute() 45 Symbol->setExternal(true); in emitSymbolAttribute() 48 Symbol->setStorageClass(XCOFF::C_WEAKEXT); in emitSymbolAttribute() 49 Symbol->setExternal(true); in emitSymbolAttribute() 52 Symbol->setVisibilityType(XCOFF::SYM_V_HIDDEN); in emitSymbolAttribute() 55 Symbol->setVisibilityType(XCOFF::SYM_V_PROTECTED); in emitSymbolAttribute() [all …]
|
| D | MCELFStreamer.cpp | 101 auto *Symbol = cast<MCSymbolELF>(S); in emitLabel() local 102 MCObjectStreamer::emitLabel(Symbol, Loc); in emitLabel() 107 Symbol->setType(ELF::STT_TLS); in emitLabel() 112 auto *Symbol = cast<MCSymbolELF>(S); in emitLabelAtPos() local 113 MCObjectStreamer::emitLabelAtPos(Symbol, Loc, F, Offset); in emitLabelAtPos() 118 Symbol->setType(ELF::STT_TLS); in emitLabelAtPos() 167 void MCELFStreamer::emitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) { in emitWeakReference() argument 168 getAssembler().registerSymbol(*Symbol); in emitWeakReference() 170 Symbol, MCSymbolRefExpr::VK_WEAKREF, getContext()); in emitWeakReference() 194 auto *Symbol = cast<MCSymbolELF>(S); in emitSymbolAttribute() local [all …]
|
| /freebsd-12-stable/contrib/llvm-project/lld/COFF/ |
| D | SymbolTable.h | 34 class Symbol; variable 63 bool handleMinGWAutomaticImport(Symbol *sym, StringRef name); 69 Symbol *find(StringRef name); 70 Symbol *findUnderscore(StringRef name); 76 Symbol *findMangle(StringRef name); 84 Symbol *addUndefined(StringRef name); 86 Symbol *addSynthetic(StringRef n, Chunk *c); 87 Symbol *addAbsolute(StringRef n, uint64_t va); 89 Symbol *addUndefined(StringRef name, InputFile *f, bool isWeakAlias); 90 void addLazyArchive(ArchiveFile *f, const Archive::Symbol &sym); [all …]
|
| D | Symbols.h | 25 std::string toString(coff::Symbol &b); 30 std::string toCOFFString(const coff::Archive::Symbol &b); 45 class Symbol { 86 void replaceKeepingName(Symbol *other, size_t size); 105 explicit Symbol(Kind k, StringRef n = "") 154 class Defined : public Symbol { 156 Defined(Kind k, StringRef n) : Symbol(k, n) {} in Defined() 158 static bool classof(const Symbol *s) { return s->kind() <= LastDefinedKind; } in classof() 174 friend Symbol; variable 180 static bool classof(const Symbol *s) { in classof() [all …]
|
| D | SymbolTable.cpp | 73 static void forceLazy(Symbol *s) { in forceLazy() 76 case Symbol::Kind::LazyArchiveKind: { in forceLazy() 81 case Symbol::Kind::LazyObjectKind: in forceLazy() 84 case Symbol::Kind::LazyDLLSymbolKind: { in forceLazy() 98 static Symbol *getSymbol(SectionChunk *sc, uint32_t addr) { in getSymbol() 101 for (Symbol *s : sc->file->getSymbols()) { in getSymbol() 155 Symbol *sym; in getSymbolLocations() 174 Symbol *sym = getSymbol(sc, r.VirtualAddress); in getSymbolLocations() 226 Symbol *sym; 260 Symbol *sym = i.second; in loadMinGWSymbols() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Symbol/ |
| D | Symbol.cpp | 25 Symbol::Symbol() in Symbol() function in Symbol 33 Symbol::Symbol(uint32_t symID, llvm::StringRef name, SymbolType type, bool external, in Symbol() function in Symbol 48 Symbol::Symbol(uint32_t symID, const Mangled &mangled, SymbolType type, in Symbol() function in Symbol 63 Symbol::Symbol(const Symbol &rhs) in Symbol() function in Symbol 75 const Symbol &Symbol::operator=(const Symbol &rhs) { in operator =() 98 void Symbol::Clear() { in Clear() 117 bool Symbol::ValueIsAddress() const { in ValueIsAddress() 121 ConstString Symbol::GetDisplayName() const { in GetDisplayName() 125 ConstString Symbol::GetReExportedSymbolName() const { in GetReExportedSymbolName() 139 FileSpec Symbol::GetReExportedSymbolSharedLibrary() const { in GetReExportedSymbolSharedLibrary() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/lld/ELF/ |
| D | Symbols.cpp | 36 std::string lld::toString(const elf::Symbol &sym) { in toString() 46 std::string lld::toELFString(const Archive::Symbol &b) { in toELFString() 65 DenseMap<const Symbol *, std::pair<const InputFile *, const InputFile *>> 68 static uint64_t getSymVA(const Symbol &sym, int64_t &addend) { in getSymVA() 70 case Symbol::DefinedKind: { in getSymVA() 137 case Symbol::SharedKind: in getSymVA() 138 case Symbol::UndefinedKind: in getSymVA() 140 case Symbol::LazyArchiveKind: in getSymVA() 141 case Symbol::LazyObjectKind: in getSymVA() 144 case Symbol::CommonKind: in getSymVA() [all …]
|
| D | SymbolTable.h | 36 bool operator()(Symbol *S) const { return !S->isPlaceholder(); } in operator() 38 using iterator = llvm::filter_iterator<std::vector<Symbol *>::const_iterator, 46 void wrap(Symbol *sym, Symbol *real, Symbol *wrap); 48 Symbol *insert(StringRef name); 50 Symbol *addSymbol(const Symbol &newSym); 54 Symbol *find(StringRef name); 67 std::vector<Symbol *> findByVersion(SymbolVersion ver); 68 std::vector<Symbol *> findAllByVersion(SymbolVersion ver, 71 llvm::StringMap<std::vector<Symbol *>> &getDemangledSyms(); 85 std::vector<Symbol *> symVector; [all …]
|
| D | Symbols.h | 26 std::string toString(const elf::Symbol &); 31 std::string toELFString(const llvm::object::Archive::Symbol &); 40 class Symbol; variable 58 class Symbol { 145 inline void replace(const Symbol &newSym); 218 void mergeProperties(const Symbol &other); 219 void resolve(const Symbol &other); 239 int compare(const Symbol *other) const; 244 Symbol(Kind k, InputFile *file, StringRefZ name, uint8_t binding, in Symbol() function 296 class Defined : public Symbol { [all …]
|
| D | SymbolTable.cpp | 34 void SymbolTable::wrap(Symbol *sym, Symbol *real, Symbol *wrap) { in wrap() 60 Symbol *SymbolTable::insert(StringRef name) { in insert() 78 Symbol *sym = reinterpret_cast<Symbol *>(make<SymbolUnion>()); in insert() 84 sym->symbolKind = Symbol::PlaceholderKind; in insert() 98 Symbol *SymbolTable::addSymbol(const Symbol &newSym) { in addSymbol() 99 Symbol *sym = insert(newSym.getName()); in addSymbol() 104 Symbol *SymbolTable::find(StringRef name) { in find() 108 Symbol *sym = symVector[it->second]; in find() 117 static bool canBeVersioned(const Symbol &sym) { in canBeVersioned() 134 StringMap<std::vector<Symbol *>> &SymbolTable::getDemangledSyms() { in getDemangledSyms() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/ |
| D | TapiFile.cpp | 23 static uint32_t getFlags(const Symbol *Sym) { in getFlags() 39 for (const auto *Symbol : interface.symbols()) { in TapiFile() local 40 if (!Symbol->getArchitectures().has(Arch)) in TapiFile() 43 switch (Symbol->getKind()) { in TapiFile() 45 Symbols.emplace_back(StringRef(), Symbol->getName(), getFlags(Symbol)); in TapiFile() 50 Symbols.emplace_back(ObjC1ClassNamePrefix, Symbol->getName(), in TapiFile() 51 getFlags(Symbol)); in TapiFile() 53 Symbols.emplace_back(ObjC2ClassNamePrefix, Symbol->getName(), in TapiFile() 54 getFlags(Symbol)); in TapiFile() 55 Symbols.emplace_back(ObjC2MetaClassNamePrefix, Symbol->getName(), in TapiFile() [all …]
|
| D | RecordStreamer.cpp | 17 void RecordStreamer::markDefined(const MCSymbol &Symbol) { in markDefined() argument 18 State &S = Symbols[Symbol.getName()]; in markDefined() 36 void RecordStreamer::markGlobal(const MCSymbol &Symbol, in markGlobal() argument 38 State &S = Symbols[Symbol.getName()]; in markGlobal() 56 void RecordStreamer::markUsed(const MCSymbol &Symbol) { in markUsed() argument 57 State &S = Symbols[Symbol.getName()]; in markUsed() 89 void RecordStreamer::emitLabel(MCSymbol *Symbol, SMLoc Loc) { in emitLabel() argument 90 MCStreamer::emitLabel(Symbol); in emitLabel() 91 markDefined(*Symbol); in emitLabel() 94 void RecordStreamer::emitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in emitAssignment() argument [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/TextAPI/ |
| D | TextStub.cpp | 468 std::map<const Symbol *, ArchitectureSet> SymbolToArchSet; in NormalizedTBD() 469 for (const auto *Symbol : File->exports()) { in NormalizedTBD() local 470 auto Architectures = Symbol->getArchitectures(); in NormalizedTBD() 471 SymbolToArchSet[Symbol] = Architectures; in NormalizedTBD() 491 const auto *Symbol = SymArch.first; in NormalizedTBD() local 492 switch (Symbol->getKind()) { in NormalizedTBD() 494 if (Symbol->isWeakDefined()) in NormalizedTBD() 495 Section.WeakDefSymbols.emplace_back(Symbol->getName()); in NormalizedTBD() 496 else if (Symbol->isThreadLocalValue()) in NormalizedTBD() 497 Section.TLVSymbols.emplace_back(Symbol->getName()); in NormalizedTBD() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/LTO/ |
| D | LTO.h | 106 class Symbol; 115 std::vector<Symbol> Symbols; 132 class Symbol : irsymtab::Symbol { 136 Symbol(const irsymtab::Symbol &S) : irsymtab::Symbol(S) {} in Symbol() function 138 using irsymtab::Symbol::isUndefined; 139 using irsymtab::Symbol::isCommon; 140 using irsymtab::Symbol::isWeak; 141 using irsymtab::Symbol::isIndirect; 142 using irsymtab::Symbol::getName; 143 using irsymtab::Symbol::getIRName; [all …]
|
| /freebsd-12-stable/crypto/heimdal/lib/asn1/ |
| D | gen_locl.h | 57 void generate_type (const Symbol *); 58 void generate_constant (const Symbol *); 59 void generate_type_encode (const Symbol *); 60 void generate_type_decode (const Symbol *); 61 void generate_type_free (const Symbol *); 62 void generate_type_length (const Symbol *); 63 void generate_type_copy (const Symbol *); 64 void generate_type_seq (const Symbol *); 89 int is_template_compat (const Symbol *); 90 void generate_template(const Symbol *); [all …]
|