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

References

tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  404             f->globalSymbols.push_back(sout);
  434             f->globalSymbols.push_back(sout);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  788                   _file.globalSymbols.size() + _file.undefinedSymbols.size();
  875                   _file.globalSymbols.size() + _file.undefinedSymbols.size();
  891       dst->nextdefsym     = _file.globalSymbols.size();
 1107   appendSymbols(_file.globalSymbols, symOffset, strOffset);
 1472                                 + _file.globalSymbols.size()
 1482   for (const Symbol &sym : _file.globalSymbols) {
 1492                                     + _file.globalSymbols.size();
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
 1109     _atomToSymbolIndex[ai.atom] = globalStartIndex + file.globalSymbols.size();
 1110     file.globalSymbols.push_back(sym);
 1125   const uint32_t start = file.globalSymbols.size() + file.localSymbols.size();
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  290   appendSymbolsInSection(normalizedFile.globalSymbols, sectIndex, symbols);
  556     uint32_t numGlobal = normalizedFile.globalSymbols.size();
  562       sym = &normalizedFile.globalSymbols[symbolIndex-numStabs-numLocal];
 1576     for (auto &sym : normalizedFile.globalSymbols) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  733     io.mapOptional("global-symbols",   file.globalSymbols);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
   80   EXPECT_TRUE(f->globalSymbols.empty());
  111   EXPECT_TRUE(f->globalSymbols.empty());
  142   EXPECT_TRUE(f->globalSymbols.empty());
  173   EXPECT_TRUE(f->globalSymbols.empty());
  187   EXPECT_TRUE(f->globalSymbols.empty());
  196   EXPECT_TRUE(f2->globalSymbols.empty());
  318   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  319   const Symbol& mainLabel = f->globalSymbols[0];
  449   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  450   const Symbol& mainLabel = f->globalSymbols[0];
  590   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  591   const Symbol& mainLabel = f->globalSymbols[0];
  733   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  734   const Symbol& mainLabel = f->globalSymbols[0];
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
  163   EXPECT_TRUE(f2->globalSymbols.empty());
  275   EXPECT_TRUE(f2->globalSymbols.empty());
  375     f.globalSymbols.push_back(makeThumbSymbol("_foo", 0x00));
  376     f.globalSymbols.push_back(makeThumbSymbol("_foo2", 0x10));
  394   EXPECT_EQ(2UL, f2->globalSymbols.size());
  395   const Symbol& fooDef = f2->globalSymbols[0];
  400   const Symbol& foo2Def = f2->globalSymbols[1];
  532     f.globalSymbols.push_back(makeSymbol("_foo", 0x00));
  533     f.globalSymbols.push_back(makeSymbol("_foo2", 0x28));
  551   EXPECT_EQ(2UL, f2->globalSymbols.size());
  552   const Symbol& fooDef = f2->globalSymbols[0];
  557   const Symbol& foo2Def = f2->globalSymbols[1];
tools/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
   49   f.globalSymbols.push_back(fooSymbol);
   56   f.globalSymbols.push_back(barSymbol);
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
   56   EXPECT_TRUE(f->globalSymbols.empty());
   72   EXPECT_TRUE(f->globalSymbols.empty());
   88   EXPECT_TRUE(f->globalSymbols.empty());
  104   EXPECT_TRUE(f->globalSymbols.empty());
  120   EXPECT_TRUE(f->globalSymbols.empty());
  136   EXPECT_TRUE(f->globalSymbols.empty());
  157     EXPECT_TRUE(f2->globalSymbols.empty());
  180   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  181   const Symbol& sym = f->globalSymbols[0];
  207   EXPECT_TRUE(f->globalSymbols.empty());
  325   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  326   const Symbol& sym1 = f->globalSymbols[0];
  462   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  463   const Symbol& sym1 = f->globalSymbols[0];
  590   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  591   const Symbol& sym1 = f->globalSymbols[0];
  746   EXPECT_EQ(f->globalSymbols.size(), 1UL);
  747   const Symbol& sym1 = f->globalSymbols[0];