[PATCH] D118390: [InstrProf] Make the IndexedInstrProf header backwards compatible.

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 09:18:00 PST 2022


snehasish created this revision.
snehasish added reviewers: davidxl, tejohnson.
Herald added subscribers: arphaman, hiraditya.
snehasish requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

While the contents of the profile are backwards compatible the header
itself is not. For example, when adding new fields to the header results
in significant issues. This change adds allows for portable
instantiation of the header across indexed format versions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118390

Files:
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/ProfileData/InstrProfReader.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118390.403697.patch
Type: text/x-patch
Size: 5465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/f73c1bc4/attachment.bin>


More information about the llvm-commits mailing list