[llvm] [nfc][InstrFDO]Encapsulate header writes in a class member function (PR #90142)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu May 16 19:07:10 PDT 2024
================
@@ -552,6 +552,41 @@ static Error writeMemProf(
memprof::MaximumSupportedVersion));
}
+size_t InstrProfWriter::writeHeader(IndexedInstrProf::Header &Header,
----------------
kazutakahirata wrote:
May I suggest `const IndexedInstrProf::Header &`?
https://github.com/llvm/llvm-project/pull/90142
More information about the llvm-commits
mailing list