Searched full:nbuckets (Results 1 – 16 of 16) sorted by relevance
57 # INVALID-NEXT: - Name: .gnu.hash.broken.nbuckets.a60 # INVALID-NEXT: - Name: .gnu.hash.broken.nbuckets.b98 NBuckets: 0x0110 NBuckets: 0x0114 ## Case 4(a): NBuckets field is broken, it says that the number of entries116 - Name: .gnu.hash.broken.nbuckets.a122 NBuckets: 0x1126 ## Case 4(b): NBuckets = 0xFFFFFFFF is incorrect. The result will cause 32-bit128 - Name: .gnu.hash.broken.nbuckets.b134 NBuckets: 0xFFFFFFFF
37 NBuckets: [[NBUCKETS=3]]290 ## Case B: the 'nbuckets' field is set so that the table goes past the end of the file.291 …RUN: yaml2obj --docnum=1 -DBITS=64 -DMACHINE=EM_X86_64 -D NBUCKETS=4294967295 %s -o %t.err.nbuckets292 # RUN: llvm-readobj --gnu-hash-table %t.err.nbuckets 2>&1 | \293 # RUN: FileCheck %s -DFILE=%t.err.nbuckets -DMASKWORDS=2 -DNBUCKETS=4294967295 --check-prefix=ERR294 # RUN: llvm-readelf --gnu-hash-table %t.err.nbuckets 2>&1 | \295 # RUN: FileCheck %s -DFILE=%t.err.nbuckets -DMASKWORDS=2 -DNBUCKETS=4294967295 --check-prefix=ERR298 # ERR-NEXT: Num Buckets: [[NBUCKETS]]307 # RUN: llvm-readelf --gnu-hash-table --elf-hash-histogram %t.err.nbuckets 2>&1 | \308 # RUN: FileCheck %s -DFILE=%t.err.nbuckets -DMASKWORDS=2 -DNBUCKETS=4294967295 --check-prefix=ERR…
476 ## Case B: the 'nbuckets' field is set so that the table goes past the end of the file.477 # RUN: yaml2obj --docnum=8 -D NBUCKETS=4294967295 %s -o %t.err.nbuckets478 # RUN: llvm-readelf --hash-symbols %t.err.nbuckets 2>&1 | \479 # RUN: FileCheck %s -DFILE=%t.err.nbuckets --check-prefix=ERR4496 NBuckets: [[NBUCKETS=3]]
333 ## Case B: the 'nbuckets' field is set so that the GNU hash table goes past the end of the file.334 # RUN: yaml2obj --docnum=6 -D NBUCKETS=0x80000000 %s -o %t8353 NBuckets: [[NBUCKETS=1]]
254 ## using the "NBuckets" and "Shift2" keys.273 NBuckets: 0x1
92 NBuckets: 2
112 const typename ELFT::Word NBucket = HashTab.nbuckets; in getSymbolFromGnuHashTable() 212 sizeof(typename ELFT::Word) * HashTab->nbuckets + in getHashTableSymbol()
580 Elf_Word nbuckets;592 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
800 if (Table.nbuckets == 0) in getDynSymtabSizeFromGnuHash()
1380 uint64_t NBuckets = Data.getU32(Cur); in dumpGnuHashSection() 1388 if (!Cur || (Size < MaskWords * AddrSize + NBuckets * 4) || in dumpGnuHashSection() 1401 S->HashBuckets.emplace(NBuckets); in dumpVerdefSection() 1365 uint64_t NBuckets = Data.getU32(Cur); dumpGnuHashSection() local
1866 // it is the number of entries in HashBuckets, but the "NBuckets" property can in writeSectionContent() 1869 if (Section.Header->NBuckets) in writeSectionContent() 1870 CBA.write<uint32_t>(*Section.Header->NBuckets, ELFT::Endianness); in writeSectionContent()
1901 IO.mapOptional("NBuckets", E.NBuckets); in mapping()
441 std::optional<llvm::yaml::Hex32> NBuckets; member
2462 size += nBuckets * 4; // Hash buckets in addSymbols() 2468 write32(ctx, buf, nBuckets); in addSymbols() 2491 uint32_t *values = buckets + nBuckets; in addSymbols() 2531 nBuckets = std::max<size_t>((v.end() - mid) / 4, 1); in writeTo() 2539 uint32_t bucketIdx = hash % nBuckets; in PltSection()
720 size_t nBuckets = 0;714 size_t nBuckets = 0; global() variable
2643 if (TableOffset + 16 + (uint64_t)GnuHashTable->nbuckets * 4 + in printHashTable() 2717 W.printNumber("Num Buckets", GnuHashTable->nbuckets); in printGnuHashTable() 2826 size_t NBucket = GnuHashTable.nbuckets; in printGnuHashHistogram() 4472 for (uint32_t Buc = 0; Buc < GnuHash.nbuckets; Buc++) { in printGnuHashTableSymbols()