[all-commits] [llvm/llvm-project] 34dffc: [memprof] Accept Schema in the constructor of Reco...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Apr 20 10:55:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34dffc5e00b2428e3c824029891f3c8fbf411d2c
      https://github.com/llvm/llvm-project/commit/34dffc5e00b2428e3c824029891f3c8fbf411d2c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-20 (Sat, 20 Apr 2024)

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

  Log Message:
  -----------
  [memprof] Accept Schema in the constructor of RecordWriterTrait (NFC) (#89486)

The comment being deleted in this patch is not correct.  We already
construct an instance of RecordWriterTrait with Version.

This patch teaches the constructor of RecordWriterTrait to accept
Schema.  While I am at it, this patch makes Version a private
variable.



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