diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2020-05-25 17:30:41 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2020-05-26 12:32:10 +0300 |
commit | 3d4c873a14fe2ffb5cd6ac329354857eef245196 (patch) | |
tree | d35b14c0daf82c4330643501962d1a350892038c /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 48cdbd081c9111e2ffe41ac3022bdfc65df46655 (diff) | |
download | llvm-3d4c873a14fe2ffb5cd6ac329354857eef245196.zip llvm-3d4c873a14fe2ffb5cd6ac329354857eef245196.tar.gz llvm-3d4c873a14fe2ffb5cd6ac329354857eef245196.tar.bz2 |
[yaml2obj] - Map section names to chunks for each ELFYAML::ProgramHeader early. NFCI.
Each `ELFYAML::ProgramHeader` currently contains a list of section names
included. We are trying to map them to Fill/Sections very late,
though we can create such mapping early, in `initProgramHeaders`.
The benefit is that with such change it is possible to access mapped
chunks earlier (for example during writing section content) and have
simpler code.
Differential revision: https://reviews.llvm.org/D80520
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions