It allows to simplify the current code and also
might help for the code around.
It is also consistent with what we do for another headers,
e.g. section headers, ELF header etc.
Differential D78627
[obj2yaml] - Zero initialize program headers. NFCI. grimar on Apr 22 2020, 4:58 AM. Authored by
Details It allows to simplify the current code and also It is also consistent with what we do for another headers,
Diff Detail
Event TimelineComment Actions
The canonical name for elf file header is "ELF header". Comment Actions LGTM, with one suggestion.
|
Maybe worth pulling Fragments.front().Offset into a variable so that you don't have to repeat its call three times?