[PATCH] D116179: [InstrProf][NFC] Do not assume size of counter type

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 29 19:19:27 PST 2021


ellis updated this revision to Diff 396594.
ellis marked 5 inline comments as done.
ellis added a comment.

Change the meaning of `DataSize` to mean the size of the data section in bytes rather than the number of data entries.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116179/new/

https://reviews.llvm.org/D116179

Files:
  compiler-rt/include/profile/InstrProfData.inc
  compiler-rt/lib/profile/InstrProfiling.c
  compiler-rt/lib/profile/InstrProfiling.h
  compiler-rt/lib/profile/InstrProfilingBuffer.c
  compiler-rt/lib/profile/InstrProfilingFile.c
  compiler-rt/lib/profile/InstrProfilingInternal.h
  compiler-rt/lib/profile/InstrProfilingMerge.c
  compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c
  compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
  compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
  compiler-rt/lib/profile/InstrProfilingPlatformOther.c
  compiler-rt/lib/profile/InstrProfilingPlatformWindows.c
  compiler-rt/lib/profile/InstrProfilingWriter.c
  compiler-rt/test/profile/instrprof-write-buffer-internal.c
  llvm/include/llvm/ProfileData/InstrProfData.inc
  llvm/include/llvm/ProfileData/InstrProfReader.h
  llvm/lib/ProfileData/InstrProfReader.cpp
  llvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116179.396594.patch
Type: text/x-patch
Size: 42915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211230/9436087e/attachment.bin>


More information about the llvm-commits mailing list