The PagerandoBinning pass packs pagerando-compatible functions into page-aligned
bins for loading as position-independent segments. The pass uses a first fit
algorithm to minimize wasted space in bins. Only functions marked with the
pagerando attribute are placed into bins.
Functions are associated with a chosen bin by setting an explicit section prefix
string containing the bin id. Functions in the same bin will then be placed into
the same section when writing the output file.
This patch set (D37580, D37581, D37582, D37583, D37584, D37585, D37586, D37587)
is a first draft of the pagerando implementation described in
http://lists.llvm.org/pipermail/llvm-dev/2017-June/113794.html.