[PATCH] D116051: [InstrProf] Prevent duplicate functions in correlated data

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 21 15:08:31 PST 2021


ellis updated this revision to Diff 395762.
ellis added a comment.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.

Use `CounterOffset` to find duplicate probes and refactor the compiler-rt test to check this case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116051

Files:
  compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c
  compiler-rt/test/profile/Inputs/instrprof-debug-info-correlate-bar.h
  compiler-rt/test/profile/Inputs/instrprof-debug-info-correlate-foo.cpp
  compiler-rt/test/profile/Inputs/instrprof-debug-info-correlate-main.cpp
  compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
  llvm/include/llvm/ProfileData/InstrProfCorrelator.h
  llvm/lib/ProfileData/InstrProfCorrelator.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116051.395762.patch
Type: text/x-patch
Size: 5954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211221/7b7545de/attachment.bin>


More information about the llvm-commits mailing list