Refactor the code that gets and creates PGOFuncName meta data so that it can be used in clang's value profile annotation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks --
include/llvm/ProfileData/InstrProf.h | ||
---|---|---|
250 ↗ | (On Diff #52129) | nit 1: MetaData -> Metadata, I'd prefer to preserve consistency with the existing naming convention. |
257 ↗ | (On Diff #52129) | nit: "Write out" -> "Create" |
Comment Actions
lgtm
The return value of createPGOFunctionMetadata is not used -- consider dropping it.
Comment Actions
drop the return value of reatePGOFuncNameMetadata().
If I don't here other review comments, I'll commit ater today.
Thanks,
-Rong