[PATCH] D82549: [AIX][XCOFF] parsing xcoff object file auxiliary header
Esme Yi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 10 22:03:27 PDT 2021
Esme added a comment.
Tests required for this patch can now be generated with D111487 <https://reviews.llvm.org/D111487>:
1. dumping full contents of the aux file header for XCOFF32 and XCOFF64.
2. reporting the warning message for `partial field` by specifying the value of AuxiliaryHeaderSize in the FileHeader, ex.
--- !XCOFF
FileHeader:
MagicNumber: 0x1DF
AuxiliaryHeaderSize: 71
AuxiliaryHeader:
Magic: 0x10B
...
3. reporting the warning message for `extra data` by set the value of AuxiliaryHeaderSize bigger than AuxFileHeaderSize32/64, ex.
--- !XCOFF
FileHeader:
MagicNumber: 0x1DF
AuxiliaryHeaderSize: 75
AuxiliaryHeader:
Magic: 0x10B
4. dumping empty `AuxiliaryHeader {}` if AuxiliaryHeader is not set.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82549/new/
https://reviews.llvm.org/D82549
More information about the llvm-commits
mailing list