diff options
author | Roger Kim <rgr@fb.com> | 2022-03-23 13:21:34 -0400 |
---|---|---|
committer | Roger Kim <rgr@fb.com> | 2022-03-23 13:57:26 -0400 |
commit | f858fba631d559c479d4728e3ea90098563f649e (patch) | |
tree | 15c5f296ae6c59622aeaa2685faa5b2762af16b9 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 31dc248ffc3cbf9ea6d11819b6b7b731b414b352 (diff) | |
download | llvm-f858fba631d559c479d4728e3ea90098563f649e.zip llvm-f858fba631d559c479d4728e3ea90098563f649e.tar.gz llvm-f858fba631d559c479d4728e3ea90098563f649e.tar.bz2 |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions