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

References

tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  395           sout.scope = (sin->n_type & (N_PEXT|N_EXT));
  427           sout.scope = (sin->n_type & (N_PEXT|N_EXT));
  433           else if (sout.scope == (SymbolScope)N_EXT)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
 1053       nb->n_type = sym.type | sym.scope;
 1063       nb->n_type = sym.type | sym.scope;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
 1042     sym.scope = 0;
 1072           sym.scope = symbolScope;
 1088         sym.scope = 0;
 1105     sym.scope = ai.scope;
 1137     sym.scope = ai.scope;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  304               Atom::Scope lScope = atomScope(lhs->scope);
  305               Atom::Scope rScope = atomScope(rhs->scope);
  351                        lastSym->desc, atomScope(lastSym->scope), sym->value,
  359                    lastSym->desc, atomScope(lastSym->scope),
 1467       file->addTentativeDefAtom(sym.name, atomScope(sym.scope), sym.value,
 1577       assert((sym.scope & N_EXT) && "only expect external symbols here");
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  465     io.mapOptional("scope",   sym.scope, SymbolScope(0));
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
  323   EXPECT_EQ(mainLabel.scope, SymbolScope(N_EXT));
  329   EXPECT_EQ(printfLabel.scope, SymbolScope(N_EXT));
  454   EXPECT_EQ(mainLabel.scope, SymbolScope(N_EXT));
  460   EXPECT_EQ(printfLabel.scope, SymbolScope(N_EXT));
  595   EXPECT_EQ(mainLabel.scope, SymbolScope(N_EXT));
  601   EXPECT_EQ(printfLabel.scope, SymbolScope(N_EXT));
  738   EXPECT_EQ(mainLabel.scope, SymbolScope(N_EXT));
  744   EXPECT_EQ(printfLabel.scope, SymbolScope(N_EXT));
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
   78   sym.scope = N_EXT;
   91   sym.scope = N_EXT;
  103   sym.scope = N_EXT;
  168   EXPECT_EQ(SymbolScope(N_EXT), barUndef.scope);
  172   EXPECT_EQ(SymbolScope(N_EXT), tbarUndef.scope);
  280   EXPECT_EQ(SymbolScope(N_EXT), barUndef.scope);
  284   EXPECT_EQ(SymbolScope(N_EXT), tbarUndef.scope);
  399   EXPECT_EQ(SymbolScope(N_EXT), fooDef.scope);
  404   EXPECT_EQ(SymbolScope(N_EXT), foo2Def.scope);
  410   EXPECT_EQ(SymbolScope(N_EXT), barUndef.scope);
  556   EXPECT_EQ(SymbolScope(N_EXT), fooDef.scope);
  561   EXPECT_EQ(SymbolScope(N_EXT), foo2Def.scope);
  567   EXPECT_EQ(SymbolScope(N_EXT), barUndef.scope);
tools/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
   46   fooSymbol.scope = N_EXT;
   53   barSymbol.scope = N_EXT;
   64   bazSymbol.scope = N_EXT | N_PEXT;
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
  184   EXPECT_EQ((int)(sym.scope), llvm::MachO::N_EXT);
  329   EXPECT_EQ((int)(sym1.scope), llvm::MachO::N_EXT);
  337   EXPECT_EQ((int)(sym2.scope), 0);
  345   EXPECT_EQ((int)(sym3.scope), 0);
  466   EXPECT_EQ((int)(sym1.scope), llvm::MachO::N_EXT);
  474   EXPECT_EQ((int)(sym2.scope), 0);
  594   EXPECT_EQ((int)(sym1.scope), llvm::MachO::N_EXT);
  602   EXPECT_EQ((int)(sym2.scope), 0);
  750   EXPECT_EQ((int)(sym1.scope), llvm::MachO::N_EXT);
  758   EXPECT_EQ((int)(sym2.scope), 0);