Some structs like FileHeader32/SectionHeader32 defined in llvm/include/llvm/BinaryFormat/XCOFF.h seem unnecessary, because we only need their size. So this patch removes them and defines size constants directly.
Details
Details
- Reviewers
sfertile jhenderson Higuoxing shchenz jsji - Group Reviewers
Restricted Project - Commits
- rGec43c1213a16: [NFC][XCOFF] Replace structs FileHeader32/SectionHeader32 with constants.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
One comment but otherwise LGTM.
llvm/include/llvm/BinaryFormat/XCOFF.h | ||
---|---|---|
30 | The constants for the 64-bit XCOFF headers/relocs aren't used yet so they shouldn't be added in this patch. You can add them in the yaml changes that use them. |
The constants for the 64-bit XCOFF headers/relocs aren't used yet so they shouldn't be added in this patch. You can add them in the yaml changes that use them.