Roger Kim f858fba631 [lld][Macho][NFC] Encapsulate priorities map in a priority class
`config->priorities` has been used to hold the intermediate state during the construction of the order in which sections should be laid out. This is not a good place to hold this state since the intermediate state is not a "configuration" for LLD. It should be encapsulated in a class for building a mapping from section to priority (which I created in this diff as the `PriorityBuilder` class).

The same thing is being done for `config->callGraphProfile`.

Reviewed By: #lld-macho, int3

Differential Revision: https://reviews.llvm.org/D122156
2022-03-23 13:57:26 -04:00
..
2021-07-15 12:56:13 -04:00
2022-02-11 19:42:20 -05:00
2021-03-18 10:39:19 -04:00
2021-06-02 11:09:26 -04:00
2020-08-26 19:20:55 -07:00
2021-10-31 16:14:29 -07:00