This is an archive of the discontinued LLVM Phabricator instance.

[PGO] name compression runtime support (needed for platforms other than linux, freebsd and darwin)
Needs ReviewPublic

Authored by davidxl on Jan 27 2016, 12:09 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

To register start and end of name section.

Diff Detail

Event Timeline

davidxl updated this revision to Diff 46108.Jan 27 2016, 12:09 AM
davidxl retitled this revision from to [PGO] name compression runtime support (needed for platforms other than linux, freebsd and darwin).
davidxl updated this object.
vsk added a subscriber: vsk.Jan 29 2016, 5:28 PM

Looks good with a nit.

lib/profile/InstrProfilingPlatformOther.c
65 ↗(On Diff #46108)

Instead of redefining these macros, could you add general-purpose MIN/MAX macros to a shared header? That should replace all instances of UPDATE_{FIRST,LAST}.

davidxl updated this revision to Diff 46476.Jan 30 2016, 1:51 PM

Address Vedant's feedback.