[all-commits] [llvm/llvm-project] 9b14de: [memprof] Use return values from addFrame and addC...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Dec 12 09:40:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b14ded131aaff617568f1344a7164ba5520d341
      https://github.com/llvm/llvm-project/commit/9b14ded131aaff617568f1344a7164ba5520d341
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M llvm/unittests/ProfileData/MemProfTest.cpp

  Log Message:
  -----------
  [memprof] Use return values from addFrame and addCallStack (NFC) (#119676)

Migrating away from Frame::hash and hashCallStack further encapsulates
how the IDs are calculated.

Note that unit tests are the only places where Frame::hash and
hashCallStack are used.  The code proper (i.e. llvm/lib) uses
IndexedMemProfData::{addFrame,addCallStack}; they do not directly use
Frame::hash or hashCallStack.



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