[PATCH] D103372: [InstrProfiling] If no value profiling, make data variable private and (for Windows) use one comdat

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 3 13:12:01 PDT 2021


MaskRay updated this revision to Diff 349668.
MaskRay edited the summary of this revision.
MaskRay added a comment.

Replace one enablesValueProfiling with profDataReferencedByCode


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103372

Files:
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Instrumentation/InstrProfiling/comdat.ll
  llvm/test/Instrumentation/InstrProfiling/icall.ll
  llvm/test/Instrumentation/InstrProfiling/linkage.ll
  llvm/test/Instrumentation/InstrProfiling/platform.ll
  llvm/test/Instrumentation/InstrProfiling/profiling.ll
  llvm/test/Transforms/PGOProfile/comdat_internal.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103372.349668.patch
Type: text/x-patch
Size: 21683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210603/470ff01a/attachment.bin>


More information about the llvm-commits mailing list