[llvm] [nfc][InstrFDO]Encapsulate header writes in a class member function (PR #90142)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 11:51:52 PDT 2024
================
@@ -788,12 +805,12 @@ Error InstrProfWriter::writeImpl(ProfOStream &OS) {
// Now do the final patch:
PatchItem PatchItems[] = {
// Patch the Header.HashOffset field.
- {HashTableStartFieldOffset, &HashTableStart, 1},
+ {BackPatchStartOffset, &HashTableStart, 1},
----------------
minglotus-6 wrote:
I'll leave them as they currently are, to make this patch focused on header writer encapsulation (which paves the way for partial forward compatibility in https://github.com/llvm/llvm-project/pull/88212)
https://github.com/llvm/llvm-project/pull/90142
More information about the llvm-commits
mailing list