Home
last modified time | relevance | path

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

/external/llvm-project/lld/ELF/
DInputSection.cpp1335 static size_t findNull(StringRef s, size_t entSize) { in findNull() argument
1337 if (entSize == 1) in findNull()
1340 for (unsigned i = 0, n = s.size(); i != n; i += entSize) { in findNull()
1342 if (std::all_of(b, b + entSize, [](char c) { return c == 0; })) in findNull()
1354 void MergeInputSection::splitStrings(ArrayRef<uint8_t> data, size_t entSize) { in splitStrings() argument
1360 size_t end = findNull(s, entSize); in splitStrings()
1363 size_t size = end + entSize; in splitStrings()
1374 size_t entSize) { in splitNonStrings() argument
1376 assert((size % entSize) == 0); in splitNonStrings()
1379 for (size_t i = 0; i != size; i += entSize) in splitNonStrings()
[all …]
DInputFiles.cpp474 uint64_t entSize = sec.sh_entsize; in shouldMerge() local
475 if (entSize == 0) in shouldMerge()
477 if (sec.sh_size % entSize) in shouldMerge()
480 Twine(entSize) + ")"); in shouldMerge()