[PATCH] D76802: [InstrProfiling] Use !associated metadata for counters, data and values

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 15:12:07 PDT 2020


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

I've added a test which is analogous to `instrprof-darwin-dead-strip.c` which tests the same functionality on Darwin. I've also updated the inliner to properly handle `!associated` metadata in D80186 <https://reviews.llvm.org/D80186> which is necessary here since `instr-profiling` pass runs before the inliner.


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

https://reviews.llvm.org/D76802

Files:
  compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
  compiler-rt/test/profile/instrprof-gc-sections.c
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Instrumentation/InstrProfiling/associated.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76802.265615.patch
Type: text/x-patch
Size: 7096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/58a66a02/attachment.bin>


More information about the llvm-commits mailing list