SuccessChanges

Summary

  1. [profile] Factor out logic for mmap'ing merged profile, NFC (details)
Commit e7aab320b1f59e077295318b9a152ed25dabe940 by Vedant Kumar
[profile] Factor out logic for mmap'ing merged profile, NFC
Split out the logic to get the size of a merged profile and to do a
compatibility check. This can be shared with both the continuous+merging
mode implementation, as well as the runtime-allocated counters
implementation planned for Fuchsia.
Lifted out of D69586.
Differential Revision: https://reviews.llvm.org/D70135
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c