[PATCH] D111487: [XCOFF][yaml2obj] support for the auxiliary file header.
Digger Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 29 09:57:55 PDT 2021
DiggerLin added inline comments.
================
Comment at: llvm/lib/ObjectYAML/XCOFFEmitter.cpp:375
+ W.write<uint8_t>(InitAuxFileHdr.CpuFlag.getValueOr(yaml::Hex16(0)));
+ // Reserved for CUP type.
+ W.write<uint8_t>(0);
----------------
should be yaml::Hex8(0) for flag.
================
Comment at: llvm/test/tools/yaml2obj/XCOFF/aux-hdr-omit.yaml:69
+ SectionData: "1234"
+ - Flags: [ STYP_LOADER ]
+ SectionData: "1234000000"
----------------
in the xcoff document , some section are not multi section allow. https://www.ibm.com/docs/en/aix/7.2?topic=formats-xcoff-object-file-format#XCOFF__a2zjvh2b9shar
for example, loader section. but it is a test , it do not matter.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111487/new/
https://reviews.llvm.org/D111487
More information about the llvm-commits
mailing list