Home
last modified time | relevance | path

Searched refs:UndefinedAtom (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lld/include/lld/Core/
H A DUndefinedAtom.h19 class UndefinedAtom : public Atom {
58 static bool classof(const UndefinedAtom *) { return true; } in classof() argument
61 UndefinedAtom() : Atom(definitionUndefined) {} in UndefinedAtom() function
63 ~UndefinedAtom() override = default;
H A DSimple.h54 void addAtom(UndefinedAtom &a) { in addAtom()
55 _undefined.push_back(OwningAtomPtr<UndefinedAtom>(&a)); in addAtom()
67 } else if (auto *p = dyn_cast<UndefinedAtom>(&atom)) { in addAtom()
68 addAtom(const_cast<UndefinedAtom &>(*p)); in addAtom()
89 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
110 AtomVector<UndefinedAtom> _undefined;
247 class SimpleUndefinedAtom : public UndefinedAtom {
262 CanBeNull canBeNull() const override { return UndefinedAtom::canBeNullNever; } in canBeNull()
H A DSymbolTable.h28 class UndefinedAtom; variable
41 bool add(const UndefinedAtom &);
53 std::vector<const UndefinedAtom *> undefines();
H A DSharedLibraryFile.h39 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
63 AtomVector<UndefinedAtom> _undefinedAtoms;
H A DFile.h181 virtual const AtomRange<UndefinedAtom> undefined() const = 0;
225 static AtomVector<UndefinedAtom> _noUndefinedAtoms;
257 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
H A DResolver.h39 bool doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom);
/freebsd-12.1/contrib/llvm/tools/lld/lib/Core/
H A DSymbolTable.cpp31 bool SymbolTable::add(const UndefinedAtom &atom) { return addByName(atom); } in add()
182 const UndefinedAtom* existingUndef = cast<UndefinedAtom>(existing); in addByName()
183 const UndefinedAtom* newUndef = cast<UndefinedAtom>(&newAtom); in addByName()
279 std::vector<const UndefinedAtom *> SymbolTable::undefines() { in undefines()
280 std::vector<const UndefinedAtom *> ret; in undefines()
284 if (const auto *undef = dyn_cast<const UndefinedAtom>(atom)) in undefines()
H A DResolver.cpp60 if (!isa<UndefinedAtom>(atom) || _symbolTable.isCoalescedAway(atom)) { in forEachUndefines()
106 bool Resolver::doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom) { in doUndefinedAtom()
397 std::vector<const UndefinedAtom *> undefinedAtoms = _symbolTable.undefines(); in checkUndefines()
411 for (const UndefinedAtom *undef : undefinedAtoms) { in checkUndefines()
413 if (undef->canBeNull() != UndefinedAtom::canBeNullNever) in checkUndefines()
H A DFile.cpp18 File::AtomVector<UndefinedAtom> File::_noUndefinedAtoms;
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/YAML/
H A DReaderWriterYAML.cpp102 for (const lld::UndefinedAtom *undefAtom : file.undefined()) { in RefNameBuilder()
683 AtomList<lld::UndefinedAtom> _undefinedAtoms;
687 AtomRange<lld::UndefinedAtom> _undefinedAtomsRef;
998 class NormalizedAtom : public lld::UndefinedAtom {
1003 NormalizedAtom(IO &io, const lld::UndefinedAtom *atom) in NormalizedAtom()
1009 const lld::UndefinedAtom *denormalize(IO &io) { in denormalize()
1052 template <> struct MappingTraits<lld::UndefinedAtom *> {
1053 static void mapping(IO &io, lld::UndefinedAtom *&atom) { in mapping()
1054 const lld::UndefinedAtom *atomPtr = atom; in mapping()
1056 atom = const_cast<lld::UndefinedAtom *>(atomPtr); in mapping()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DFlatNamespaceFile.h40 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
H A DSectCreateFile.h76 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
H A DExecutableAtoms.h128 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
H A DArchHandler_arm.cpp1048 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()
1081 bool targetIsUndef = isa<UndefinedAtom>(ref.target()); in applyFixupRelocatable()
H A DArchHandler_x86.cpp533 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()
H A DMachONormalizedFileFromAtoms.cpp1116 for (const UndefinedAtom *atom : atomFile.undefined()) { in addSymbols()
/freebsd-12.1/contrib/llvm/tools/lld/docs/
H A DReaders.rst127 modeled as a Reference to an UndefinedAtom. So the Reader also needs to
128 create an UndefinedAtom for each undefined symbol in the object file.
137 the target Atom of the Reference will be an UndefinedAtom.
H A Ddesign.rst53 * UndefinedAtom
63 It is similar to an UndefinedAtom, but it also tracks information
256 can add an UndefinedAtom with that special name to the resolver. This will
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/
H A DFileArchive.cpp106 const AtomRange<UndefinedAtom> undefined() const override { in undefined()