[PATCH] D96757: [InstrProfiling] Use ELF section groups for counters, data and values

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 13:20:00 PST 2021


phosek updated this revision to Diff 325550.
phosek added a comment.

Check the size of `__llvm_prf_cnts` section rather than its content.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96757

Files:
  compiler-rt/test/CMakeLists.txt
  compiler-rt/test/profile/CMakeLists.txt
  compiler-rt/test/profile/instrprof-gc-sections.c
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Instrumentation/InstrProfiling/icall.ll
  llvm/test/Instrumentation/InstrProfiling/linkage.ll
  llvm/test/Instrumentation/InstrProfiling/platform.ll
  llvm/test/Transforms/PGOProfile/counter_promo.ll
  llvm/test/Transforms/PGOProfile/counter_promo_mexits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96757.325550.patch
Type: text/x-patch
Size: 15284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210222/a2fabbec/attachment.bin>


More information about the llvm-commits mailing list