Searched refs:SharedLibraryAtom (Results 1 – 20 of 20) sorted by relevance
18 class SharedLibraryAtom : public Atom {42 static inline bool classof(const SharedLibraryAtom *) { return true; } in classof() argument45 SharedLibraryAtom() : Atom(definitionSharedLibrary) {} in SharedLibraryAtom() function47 ~SharedLibraryAtom() override = default;
29 virtual OwningAtomPtr<SharedLibraryAtom> exports(StringRef name) const = 0;42 const AtomRange<SharedLibraryAtom> sharedLibrary() const override { in sharedLibrary()63 AtomVector<SharedLibraryAtom> _sharedLibraryAtoms;
56 void addAtom(SharedLibraryAtom &a) { in addAtom()57 _shared.push_back(OwningAtomPtr<SharedLibraryAtom>(&a)); in addAtom()68 } else if (auto *p = dyn_cast<SharedLibraryAtom>(&atom)) { in addAtom()69 addAtom(const_cast<SharedLibraryAtom &>(*p)); in addAtom()92 const AtomRange<SharedLibraryAtom> sharedLibrary() const override { in sharedLibrary()110 AtomVector<SharedLibraryAtom> _shared;
26 class SharedLibraryAtom; variable43 bool add(const SharedLibraryAtom &);
185 virtual const AtomRange<SharedLibraryAtom> sharedLibrary() const = 0;226 static AtomVector<SharedLibraryAtom> _noSharedLibraryAtoms;260 const AtomRange<SharedLibraryAtom> sharedLibrary() const override { in sharedLibrary()
39 void doSharedLibraryAtom(OwningAtomPtr<SharedLibraryAtom> atom);
29 OwningAtomPtr<SharedLibraryAtom> exports(StringRef name) const override { in exports()43 const AtomRange<SharedLibraryAtom> sharedLibrary() const override { in sharedLibrary()
141 class MachOSharedLibraryAtom : public SharedLibraryAtom {145 : SharedLibraryAtom(), _file(file), _name(name), in MachOSharedLibraryAtom()
79 const AtomRange<SharedLibraryAtom> sharedLibrary() const override { in sharedLibrary()
164 int dylibOrdinal(const SharedLibraryAtom *sa);1120 for (const SharedLibraryAtom *atom : atomFile.sharedLibrary()) { in addSymbols()1132 ordinal = dylibOrdinal(dyn_cast<SharedLibraryAtom>(ai.atom)); in addSymbols()1180 if (isa<const SharedLibraryAtom>(target)) { in addIndirectSymbols()1265 int Util::dylibOrdinal(const SharedLibraryAtom *sa) { in dylibOrdinal()1448 if (const SharedLibraryAtom *sa = dyn_cast<SharedLibraryAtom>(targ)) { in addRebaseAndBindingInfo()1462 if (const SharedLibraryAtom *sa = dyn_cast<SharedLibraryAtom>(targ)) { in addRebaseAndBindingInfo()
293 OwningAtomPtr<SharedLibraryAtom> exports(StringRef name) const override { in exports()346 OwningAtomPtr<SharedLibraryAtom> exports(StringRef name, in exports()387 const SharedLibraryAtom *atom;
230 if (isa<SharedLibraryAtom>(target)) { in perform()274 mergedFile.sharedLibrary(), [&](const SharedLibraryAtom *atom) { in perform()
131 const AtomRange<SharedLibraryAtom> sharedLibrary() const override { in sharedLibrary()
141 if (isa<SharedLibraryAtom>(target)) in shouldReplaceTargetWithGOTAtom()
449 struct ScalarEnumerationTraits<lld::SharedLibraryAtom::Type> {683 AtomList<lld::SharedLibraryAtom> _sharedLibraryAtoms;687 AtomRange<lld::SharedLibraryAtom> _sharedLibraryAtomsRef;1061 class NormalizedAtom : public lld::SharedLibraryAtom {1067 NormalizedAtom(IO &io, const lld::SharedLibraryAtom *atom) in NormalizedAtom()1074 const lld::SharedLibraryAtom *denormalize(IO &io) { in denormalize()1129 template <> struct MappingTraits<lld::SharedLibraryAtom *> {1130 static void mapping(IO &io, lld::SharedLibraryAtom *&atom) { in mapping()1131 const lld::SharedLibraryAtom *atomPtr = atom; in mapping()1133 atom = const_cast<lld::SharedLibraryAtom *>(atomPtr); in mapping()[all …]
18 File::AtomVector<SharedLibraryAtom> File::_noSharedLibraryAtoms;
32 bool SymbolTable::add(const SharedLibraryAtom &atom) { return addByName(atom); } in add()
149 void Resolver::doSharedLibraryAtom(OwningAtomPtr<SharedLibraryAtom> atom) { in doSharedLibraryAtom()
109 const AtomRange<SharedLibraryAtom> sharedLibrary() const override { in sharedLibrary()
58 * SharedLibraryAtom60 library (and not some object file). A SharedLibraryAtom is the