[PATCH] D155290: [PGO] Use Unique Profile Files when New Processes are Forked

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 12 22:04:18 PDT 2023


MaskRay added a comment.

Actually, I am not sure changing `%p` to create multiple raw profile files should be the default.
Currently, thanks to online profile merging we get just one raw profile file (though counters before fork may be doubly incremented).

Using `%p` should not magically change the behavior and I am unsure the result is better for PGO. 
Perhaps you can add a new format specifier or API for the proposed behavior.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155290



More information about the cfe-commits mailing list