Home
last modified time | relevance | path

Searched refs:globalSymbols (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/lld/unittests/MachOTests/
DMachONormalizedFileYAMLTests.cpp56 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
72 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
88 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
104 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
120 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
136 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
157 EXPECT_TRUE(f2->globalSymbols.empty()); in TEST()
180 EXPECT_EQ(f->globalSymbols.size(), 1UL); in TEST()
181 const Symbol& sym = f->globalSymbols[0]; in TEST()
207 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
[all …]
DMachONormalizedFileBinaryReaderTests.cpp80 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
111 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
142 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
173 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
187 EXPECT_TRUE(f->globalSymbols.empty()); in TEST()
196 EXPECT_TRUE(f2->globalSymbols.empty()); in TEST()
318 EXPECT_EQ(f->globalSymbols.size(), 1UL); in TEST()
319 const Symbol& mainLabel = f->globalSymbols[0]; in TEST()
449 EXPECT_EQ(f->globalSymbols.size(), 1UL); in TEST()
450 const Symbol& mainLabel = f->globalSymbols[0]; in TEST()
[all …]
DMachONormalizedFileBinaryWriterTests.cpp163 EXPECT_TRUE(f2->globalSymbols.empty()); in TEST()
275 EXPECT_TRUE(f2->globalSymbols.empty()); in TEST()
375 f.globalSymbols.push_back(makeThumbSymbol("_foo", 0x00)); in TEST()
376 f.globalSymbols.push_back(makeThumbSymbol("_foo2", 0x10)); in TEST()
394 EXPECT_EQ(2UL, f2->globalSymbols.size()); in TEST()
395 const Symbol& fooDef = f2->globalSymbols[0]; in TEST()
400 const Symbol& foo2Def = f2->globalSymbols[1]; in TEST()
532 f.globalSymbols.push_back(makeSymbol("_foo", 0x00)); in TEST()
533 f.globalSymbols.push_back(makeSymbol("_foo2", 0x28)); in TEST()
551 EXPECT_EQ(2UL, f2->globalSymbols.size()); in TEST()
[all …]
DMachONormalizedFileToAtomsTests.cpp49 f.globalSymbols.push_back(fooSymbol); in TEST()
56 f.globalSymbols.push_back(barSymbol); in TEST()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFileBinaryWriter.cpp788 _file.globalSymbols.size() + _file.undefinedSymbols.size(); in writeLoadCommands()
875 _file.globalSymbols.size() + _file.undefinedSymbols.size(); in writeLoadCommands()
891 dst->nextdefsym = _file.globalSymbols.size(); in writeLoadCommands()
1107 appendSymbols(_file.globalSymbols, symOffset, strOffset); in writeSymbolTable()
1472 + _file.globalSymbols.size() in computeSymbolTableSizes()
1482 for (const Symbol &sym : _file.globalSymbols) { in computeSymbolTableSizes()
1492 + _file.globalSymbols.size(); in computeSymbolTableSizes()
DMachONormalizedFile.h233 std::vector<Symbol> globalSymbols; member
DMachONormalizedFileBinaryReader.cpp404 f->globalSymbols.push_back(sout); in readBinary()
434 f->globalSymbols.push_back(sout); in readBinary()
DMachONormalizedFileToAtoms.cpp291 appendSymbolsInSection(normalizedFile.globalSymbols, sectIndex, symbols); in processSymboledSection()
558 uint32_t numGlobal = normalizedFile.globalSymbols.size(); in convertRelocs()
564 sym = &normalizedFile.globalSymbols[symbolIndex-numStabs-numLocal]; in convertRelocs()
1578 for (auto &sym : normalizedFile.globalSymbols) { in normalizedDylibToAtoms()
DMachONormalizedFileFromAtoms.cpp1109 _atomToSymbolIndex[ai.atom] = globalStartIndex + file.globalSymbols.size(); in addSymbols()
1110 file.globalSymbols.push_back(sym); in addSymbols()
1125 const uint32_t start = file.globalSymbols.size() + file.localSymbols.size(); in addSymbols()
DMachONormalizedFileYAML.cpp733 io.mapOptional("global-symbols", file.globalSymbols); in mapping()
/external/llvm-project/lld/COFF/
DPDB.cpp146 uint64_t globalSymbols = 0; member in __anon613454050111::PDBLinker
584 ++globalSymbols; in mergeSymbolRecords()
1029 print(globalSymbols, "Global symbol records"); in printStats()