[PATCH] D135929: [profile] Add binary ids into indexed profiles

Gulfem Savrun Yeniceri via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 20:23:10 PST 2022


gulfem updated this revision to Diff 481821.
gulfem added a comment.
Herald added a subscriber: mgrang.

Fix a few things after testing on Fuchsia

1. Merge binary ids when writer contexts from different threads are merged
2. Remove duplicated binary ids
3. Use object::BuildID instead of object::BuildIDRef


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135929

Files:
  compiler-rt/include/profile/InstrProfData.inc
  compiler-rt/test/profile/Linux/binary-id.c
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/include/llvm/ProfileData/InstrProfData.inc
  llvm/include/llvm/ProfileData/InstrProfReader.h
  llvm/include/llvm/ProfileData/InstrProfWriter.h
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/ProfileData/InstrProfReader.cpp
  llvm/lib/ProfileData/InstrProfWriter.cpp
  llvm/tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135929.481821.patch
Type: text/x-patch
Size: 23812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221210/cba17e89/attachment.bin>


More information about the llvm-commits mailing list