Home
last modified time | relevance | path

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

/external/llvm-project/lld/include/lld/Core/
DUndefinedAtom.h18 class UndefinedAtom : public Atom {
57 static bool classof(const UndefinedAtom *) { return true; } in classof() argument
60 UndefinedAtom() : Atom(definitionUndefined) {} in UndefinedAtom() function
62 ~UndefinedAtom() override = default;
DSimple.h53 void addAtom(UndefinedAtom &a) { in addAtom()
54 _undefined.push_back(OwningAtomPtr<UndefinedAtom>(&a)); in addAtom()
66 } else if (auto *p = dyn_cast<UndefinedAtom>(&atom)) { in addAtom()
67 addAtom(const_cast<UndefinedAtom &>(*p)); in addAtom()
88 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
109 AtomVector<UndefinedAtom> _undefined;
246 class SimpleUndefinedAtom : public UndefinedAtom {
261 CanBeNull canBeNull() const override { return UndefinedAtom::canBeNullNever; } in canBeNull()
DSymbolTable.h27 class UndefinedAtom; variable
40 bool add(const UndefinedAtom &);
52 std::vector<const UndefinedAtom *> undefines();
DSharedLibraryFile.h38 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
62 AtomVector<UndefinedAtom> _undefinedAtoms;
DFile.h181 virtual const AtomRange<UndefinedAtom> undefined() const = 0;
225 static AtomVector<UndefinedAtom> _noUndefinedAtoms;
257 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
DResolver.h38 bool doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom);
/external/llvm-project/lld/lib/Core/
DSymbolTable.cpp30 bool SymbolTable::add(const UndefinedAtom &atom) { return addByName(atom); } in add()
175 const UndefinedAtom* existingUndef = cast<UndefinedAtom>(existing); in addByName()
176 const UndefinedAtom* newUndef = cast<UndefinedAtom>(&newAtom); in addByName()
272 std::vector<const UndefinedAtom *> SymbolTable::undefines() { in undefines()
273 std::vector<const UndefinedAtom *> ret; in undefines()
277 if (const auto *undef = dyn_cast<const UndefinedAtom>(atom)) in undefines()
DResolver.cpp59 if (!isa<UndefinedAtom>(atom) || _symbolTable.isCoalescedAway(atom)) { in forEachUndefines()
105 bool Resolver::doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom) { in doUndefinedAtom()
396 std::vector<const UndefinedAtom *> undefinedAtoms = _symbolTable.undefines(); in checkUndefines()
410 for (const UndefinedAtom *undef : undefinedAtoms) { in checkUndefines()
412 if (undef->canBeNull() != UndefinedAtom::canBeNullNever) in checkUndefines()
DFile.cpp17 File::AtomVector<UndefinedAtom> File::_noUndefinedAtoms;
/external/llvm-project/lld/lib/ReaderWriter/YAML/
DReaderWriterYAML.cpp101 for (const lld::UndefinedAtom *undefAtom : file.undefined()) { in RefNameBuilder()
433 template <> struct ScalarEnumerationTraits<lld::UndefinedAtom::CanBeNull> {
434 static void enumeration(IO &io, lld::UndefinedAtom::CanBeNull &value) { in enumeration()
435 io.enumCase(value, "never", lld::UndefinedAtom::canBeNullNever); in enumeration()
436 io.enumCase(value, "at-runtime", lld::UndefinedAtom::canBeNullAtRuntime); in enumeration()
437 io.enumCase(value, "at-buildtime",lld::UndefinedAtom::canBeNullAtBuildtime); in enumeration()
588 const AtomRange<lld::UndefinedAtom> undefined() const override { in undefined()
651 const AtomRange<lld::UndefinedAtom> undefined() const override { in undefined()
682 AtomList<lld::UndefinedAtom> _undefinedAtoms;
686 AtomRange<lld::UndefinedAtom> _undefinedAtomsRef;
[all …]
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DFlatNamespaceFile.h39 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
DSectCreateFile.h75 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
DExecutableAtoms.h127 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
DArchHandler_x86.cpp532 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()
DArchHandler_arm.cpp1047 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()
1080 bool targetIsUndef = isa<UndefinedAtom>(ref.target()); in applyFixupRelocatable()
DMachONormalizedFileFromAtoms.cpp1116 for (const UndefinedAtom *atom : atomFile.undefined()) { in addSymbols()
/external/llvm-project/lld/docs/
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.
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
/external/llvm-project/lld/unittests/MachOTests/
DMachONormalizedFileToAtomsTests.cpp80 const lld::UndefinedAtom *atom4 = *file.undefined().begin(); in TEST()
/external/llvm-project/lld/lib/ReaderWriter/
DFileArchive.cpp105 const AtomRange<UndefinedAtom> undefined() const override { in undefined()