[all-commits] [llvm/llvm-project] ec43c1: [NFC][XCOFF] Replace structs FileHeader32/SectionH...
Esme via All-commits
all-commits at lists.llvm.org
Thu Jun 10 04:11:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ec43c1213a16969aeec6ac7a5b894ec1389e4d71
https://github.com/llvm/llvm-project/commit/ec43c1213a16969aeec6ac7a5b894ec1389e4d71
Author: Esme-Yi <esme.yi at ibm.com>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M llvm/include/llvm/BinaryFormat/XCOFF.h
M llvm/lib/MC/XCOFFObjectWriter.cpp
M llvm/lib/ObjectYAML/XCOFFEmitter.cpp
Log Message:
-----------
[NFC][XCOFF] Replace structs FileHeader32/SectionHeader32 with constants.
Summary: 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.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D103901
More information about the All-commits
mailing list