[all-commits] [llvm/llvm-project] bda020: [ProfileData] Add InstrProfWriter::writeBinaryIds ...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Dec 5 08:39:48 PST 2024


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

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProfWriter.h
    M llvm/lib/ProfileData/InstrProfWriter.cpp

  Log Message:
  -----------
  [ProfileData] Add InstrProfWriter::writeBinaryIds (NFC) (#118754)

The patch makes InstrProfWriter::writeImpl less monolithic by adding
InstrProfWriter::writeBinaryIds to serialize binary IDs.  This way,
InstrProfWriter::writeImpl can simply call the new function instead of
handling all the details within writeImpl.



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