Searched refs:entSize (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | InputSection.cpp | 1422 static size_t findNull(StringRef s, size_t entSize) { in findNull() argument 1423 for (unsigned i = 0, n = s.size(); i != n; i += entSize) { in findNull() 1425 if (std::all_of(b, b + entSize, [](char c) { return c == 0; })) in findNull() 1433 void MergeInputSection::splitStrings(StringRef s, size_t entSize) { in splitStrings() argument 1436 if (!std::all_of(end - entSize, end, [](char c) { return c == 0; })) { in splitStrings() 1438 pieces.emplace_back(entSize, 0, false); in splitStrings() 1441 if (entSize == 1) { in splitStrings() 1450 size_t size = findNull(StringRef(p, end - p), entSize); in splitStrings() 1452 p += size + entSize; in splitStrings() 1460 size_t entSize) { in splitNonStrings() argument [all …]
|
| H A D | InputFiles.cpp | 705 uint64_t entSize = sec.sh_entsize; in shouldMerge() local 706 if (entSize == 0) in shouldMerge() 708 if (sec.sh_size % entSize) in shouldMerge() 711 << ") must be a multiple of sh_entsize (" << entSize << ")"; in shouldMerge()
|