reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Overridden By

tools/lld/include/lld/Core/Simple.h
  158   Scope scope() const override { return DefinedAtom::scopeLinkageUnit; }
tools/lld/lib/ReaderWriter/MachO/Atoms.h
   55   Scope scope() const override { return _scope; }
  130   Scope scope() const override { return _scope; }
tools/lld/lib/ReaderWriter/MachO/SectCreateFile.h
   37     Scope scope() const override { return scopeGlobal; }
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  868     Scope scope() const override { return _scope; }

References

tools/lld/lib/Core/Resolver.cpp
  368         if (defAtom->scope() == DefinedAtom::scopeGlobal)
tools/lld/lib/Core/SymbolTable.cpp
   38       atom.scope() != DefinedAtom::scopeTranslationUnit) {
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp
 1057        return (defAtom->scope() == DefinedAtom::scopeGlobal);
tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp
  542        return (defAtom->scope() == DefinedAtom::scopeGlobal);
tools/lld/lib/ReaderWriter/MachO/GOTPass.cpp
  148       assert(defTarget->scope() != DefinedAtom::scopeTranslationUnit);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  923       if (atom->scope() == Atom::scopeTranslationUnit)
  987   switch (atom->scope()) {
 1540       if (atom->scope() != Atom::scopeGlobal)
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp
  239           assert(defTarget->scope() != DefinedAtom::scopeTranslationUnit);
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  817           _scope(atom->scope()), _interpose(atom->interposable()),
tools/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
   85   EXPECT_EQ(lld::Atom::scopeGlobal, atom1->scope());
   90   EXPECT_EQ(lld::Atom::scopeGlobal, atom2->scope());
   95   EXPECT_EQ(lld::Atom::scopeLinkageUnit, atom3->scope());