[PATCH] D104080: [LLD][LLVM] CG Graph profile using relocations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 22:33:41 PDT 2021


MaskRay added a comment.

You can mention that this does increase `-fprofile-use=` object file sizes a bit but probably don't matter.

For instrumentation PGO users, `-fprofile-generate=` object files are much larger than `-fprofile-use=`, so `-fprofile-use=` slightly size increases don't matter.
For sample PGO users, this may increase the peak object file sizes a bit, but doesn't matter as your measurement for clang-13 shows.

> Test Plan:
> ninja check all, manual rtesting

This should be deleted when committing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104080



More information about the llvm-commits mailing list