[PATCH] D70135: [profile] Factor out logic for mmap'ing merged profile, NFC

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 10:28:11 PST 2019


vsk created this revision.
vsk added reviewers: phosek, davidxl.
Herald added a project: LLVM.

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 <https://reviews.llvm.org/D69586>.


https://reviews.llvm.org/D70135

Files:
  compiler-rt/lib/profile/InstrProfilingFile.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70135.228918.patch
Type: text/x-patch
Size: 4277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191112/f488d70c/attachment.bin>


More information about the llvm-commits mailing list