Home
last modified time | relevance | path

Searched refs:undefinedSymbols (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/lld/unittests/MachOTests/
DMachONormalizedFileBinaryReaderTests.cpp81 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
112 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
143 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
174 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
188 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
197 EXPECT_TRUE(f2->undefinedSymbols.empty()); in TEST()
325 EXPECT_EQ(f->undefinedSymbols.size(), 1UL); in TEST()
326 const Symbol& printfLabel = f->undefinedSymbols[0]; in TEST()
456 EXPECT_EQ(f->undefinedSymbols.size(), 1UL); in TEST()
457 const Symbol& printfLabel = f->undefinedSymbols[0]; in TEST()
[all …]
DMachONormalizedFileYAMLTests.cpp57 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
73 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
89 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
105 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
121 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
137 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
158 EXPECT_TRUE(f2->undefinedSymbols.empty()); in TEST()
179 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
208 EXPECT_TRUE(f->undefinedSymbols.empty()); in TEST()
341 EXPECT_EQ(f->undefinedSymbols.size(), 1UL); in TEST()
[all …]
DMachONormalizedFileBinaryWriterTests.cpp144 f.undefinedSymbols.push_back(makeUndefSymbol("_bar")); in TEST()
145 f.undefinedSymbols.push_back(makeUndefSymbol("_tbar")); in TEST()
164 EXPECT_EQ(2UL, f2->undefinedSymbols.size()); in TEST()
165 const Symbol& barUndef = f2->undefinedSymbols[0]; in TEST()
169 const Symbol& tbarUndef = f2->undefinedSymbols[1]; in TEST()
257 f.undefinedSymbols.push_back(makeUndefSymbol("_bar")); in TEST()
258 f.undefinedSymbols.push_back(makeUndefSymbol("_tbar")); in TEST()
276 EXPECT_EQ(2UL, f2->undefinedSymbols.size()); in TEST()
277 const Symbol& barUndef = f2->undefinedSymbols[0]; in TEST()
281 const Symbol& tbarUndef = f2->undefinedSymbols[1]; in TEST()
[all …]
DMachONormalizedFileToAtomsTests.cpp60 f.undefinedSymbols.push_back(undefSym); in TEST()
/external/llvm-project/lld/MachO/
DSyntheticSections.h436 uint32_t getNumUndefinedSymbols() const { return undefinedSymbols.size(); } in getNumUndefinedSymbols()
453 std::vector<SymtabEntry> undefinedSymbols; variable
DSyntheticSections.cpp709 undefinedSymbols.push_back({sym, strx}); in finalizeContents()
716 concat<SymtabEntry>(localSymbols, externalSymbols, undefinedSymbols)) { in finalizeContents()
723 undefinedSymbols.size(); in getNumSymbols()
740 localSymbols, externalSymbols, undefinedSymbols)) { in writeTo()
/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()
893 dst->nundefsym = _file.undefinedSymbols.size(); in writeLoadCommands()
1108 appendSymbols(_file.undefinedSymbols, symOffset, strOffset); in writeSymbolTable()
1473 + _file.undefinedSymbols.size()); in computeSymbolTableSizes()
1485 for (const Symbol &sym : _file.undefinedSymbols) { in computeSymbolTableSizes()
DMachONormalizedFile.h234 std::vector<Symbol> undefinedSymbols; member
DMachONormalizedFileBinaryReader.cpp402 f->undefinedSymbols.push_back(sout); in readBinary()
432 f->undefinedSymbols.push_back(sout); in readBinary()
DMachONormalizedFileToAtoms.cpp559 uint32_t numUndef = normalizedFile.undefinedSymbols.size(); in convertRelocs()
566 sym = &normalizedFile.undefinedSymbols[symbolIndex-numStabs-numLocal- in convertRelocs()
1464 for (auto &sym : normalizedFile.undefinedSymbols) { in normalizedObjectToAtoms()
DMachONormalizedFileFromAtoms.cpp1141 _atomToSymbolIndex[ai.atom] = file.undefinedSymbols.size() + start; in addSymbols()
1142 file.undefinedSymbols.push_back(sym); in addSymbols()
DMachONormalizedFileYAML.cpp734 io.mapOptional("undefined-symbols",file.undefinedSymbols); in mapping()