[PATCH] D45850: [ELF] Read the call graph profile from object files.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 19 14:55:38 PDT 2018
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: ELF/Driver.cpp:691
+ continue;
+ Config->CallGraphProfile[std::make_pair(FromSB, ToSB)] += CGPE.cgp_weight;
+ }
----------------
I believe you can use {} instead of std::make_pair().
https://reviews.llvm.org/D45850
More information about the llvm-commits
mailing list