Searched refs:isWeakDef (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/lld/MachO/ |
D | SymbolTable.cpp | 40 uint32_t value, bool isWeakDef) { in addDefined() argument 48 if (isWeakDef) in addDefined() 50 if (!defined->isWeakDef()) in addDefined() 53 overridesWeakDef = !isWeakDef && dysym->isWeakDef(); in addDefined() 59 Defined *defined = replaceSymbol<Defined>(s, name, isec, value, isWeakDef, in addDefined() 98 Symbol *SymbolTable::addDylib(StringRef name, DylibFile *file, bool isWeakDef, in addDylib() argument 104 if (!wasInserted && isWeakDef) in addDylib() 106 if (!defined->isWeakDef()) in addDylib() 110 (isa<DylibSymbol>(s) && !isWeakDef && s->isWeakDef())) in addDylib() 111 replaceSymbol<DylibSymbol>(s, file, name, isWeakDef, isTlv); in addDylib() [all …]
|
D | Symbols.h | 58 virtual bool isWeakDef() const { llvm_unreachable("cannot be weak"); } in isWeakDef() function 86 Defined(StringRefZ name, InputSection *isec, uint32_t value, bool isWeakDef, in Defined() argument 89 overridesWeakDef(false), weakDef(isWeakDef), external(isExternal) {} in Defined() 91 bool isWeakDef() const override { return weakDef; } in isWeakDef() function 152 DylibSymbol(DylibFile *file, StringRefZ name, bool isWeakDef, bool isTlv) in DylibSymbol() argument 153 : Symbol(DylibKind, name), file(file), weakDef(isWeakDef), tlv(isTlv) {} in DylibSymbol() 155 bool isWeakDef() const override { return weakDef; } in isWeakDef() function 206 bool isWeakDef() const override { return false; } in isWeakDef() function
|
D | SymbolTable.h | 36 bool isWeakDef); 42 Symbol *addDylib(StringRef name, DylibFile *file, bool isWeakDef, bool isTlv);
|
D | SyntheticSections.cpp | 362 if (defined->isWeakDef() && defined->isExternal()) in needsBinding() 373 if (dysym->isWeakDef()) in addNonLazyBindingEntries() 377 if (defined->isWeakDef() && defined->isExternal()) in addNonLazyBindingEntries() 538 if (sym->isWeakDef()) { in prepareBranchTarget() 548 if (defined->isWeakDef() && defined->isExternal()) { in prepareBranchTarget() 567 hasWeakSymbol = hasWeakSymbol || sym->isWeakDef(); in finalizeContents() 755 nList->n_desc |= defined->isWeakDef() ? MachO::N_WEAK_DEF : 0; in writeTo()
|
D | ExportTrie.cpp | 66 if (sym.isWeakDef()) in ExportInfo()
|
D | InputFiles.cpp | 519 bool isWeakDef = flags & EXPORT_SYMBOL_FLAGS_WEAK_DEFINITION; in DylibFile() local 522 isWeakDef, isTlv)); in DylibFile()
|