[llvm] [LLVM][DWARF] Make dwarf::getDebugNamesBucketCount return a pair. (PR #83047)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 12:06:06 PST 2024


================
@@ -38,7 +38,9 @@ void AccelTableBase::computeBucketCount() {
   for (const auto &E : Entries)
     Uniques.push_back(E.second.HashValue);
 
-  BucketCount = llvm::dwarf::getDebugNamesBucketCount(Uniques, UniqueHashCount);
+  auto Counts = llvm::dwarf::getDebugNamesBucketAndHashCount(Uniques);
----------------
dwblaikie wrote:

ah, https://github.com/llvm/llvm-project/commit/7b0b64a7016d67d6d8c538fe406a2ffd93c11602 cool, thanks!

https://github.com/llvm/llvm-project/pull/83047


More information about the llvm-commits mailing list