Home
last modified time | relevance | path

Searched refs:entSize (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DInputSection.cpp1353 static size_t findNull(StringRef s, size_t entSize) { in findNull() argument
1354 for (unsigned i = 0, n = s.size(); i != n; i += entSize) { in findNull()
1356 if (std::all_of(b, b + entSize, [](char c) { return c == 0; })) in findNull()
1364 void MergeInputSection::splitStrings(StringRef s, size_t entSize) { in splitStrings() argument
1367 if (!std::all_of(end - entSize, end, [](char c) { return c == 0; })) in splitStrings()
1369 if (entSize == 1) { in splitStrings()
1378 size_t size = findNull(StringRef(p, end - p), entSize); in splitStrings()
1380 p += size + entSize; in splitStrings()
1388 size_t entSize) { in splitNonStrings() argument
1390 assert((size % entSize) == 0); in splitNonStrings()
[all …]
H A DInputFiles.cpp739 uint64_t entSize = sec.sh_entsize; in shouldMerge() local
740 if (entSize == 0) in shouldMerge()
742 if (sec.sh_size % entSize) in shouldMerge()
745 Twine(entSize) + ")"); in shouldMerge()