[all-commits] [llvm/llvm-project] f06637: [LLVM][DWARF] Make dwarf::getDebugNamesBucketCount...

cmtice via All-commits all-commits at lists.llvm.org
Mon Feb 26 21:54:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0663772463335bed253491fa380e1a9c2d78484
      https://github.com/llvm/llvm-project/commit/f0663772463335bed253491fa380e1a9c2d78484
  Author: cmtice <cmtice at google.com>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/Dwarf.h
    M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp

  Log Message:
  -----------
  [LLVM][DWARF] Make dwarf::getDebugNamesBucketCount return a pair. (#83047)

llvm::dwarf::getDebugNamesBucketCount directly returns the bucket count,
via return statement, but it also returns the hash count via a
parameter. This changes the function to return them both as a std::pair,
in the return statement. It also changes the name of the function to
make it clear it returns both values.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list