[SystemZ][z/OS] Add GOFFObjectFile class support for HDR, ESD and END records
authorNeumann Hon <neumann.hon@ibm.com>
Fri, 28 Apr 2023 23:00:45 +0000 (19:00 -0400)
committerNeumann Hon <neumann.hon@ibm.com>
Fri, 28 Apr 2023 23:00:45 +0000 (19:00 -0400)
commit5b2423183cb35703723ec91ce5b93b99cec36fb2
treebf2e2581dd76321d9b7c534f7ccb42448302f6f7
parentba3cbc7aadf9d47d3eb177934b9e7b8e852a9857
[SystemZ][z/OS] Add GOFFObjectFile class support for HDR, ESD and END records

This patch details the GOFF file format and implements the GOFFObjectfile class
with support for only the HDR, ESD and END GOFF records.

Reviewed By: jhenderson, kpn

Differential Revision: https://reviews.llvm.org/D98437
llvm/include/llvm/BinaryFormat/GOFF.h
llvm/include/llvm/Object/Binary.h
llvm/include/llvm/Object/GOFF.h [new file with mode: 0644]
llvm/include/llvm/Object/GOFFObjectFile.h [new file with mode: 0644]
llvm/include/llvm/Object/ObjectFile.h
llvm/lib/Object/CMakeLists.txt
llvm/lib/Object/GOFFObjectFile.cpp [new file with mode: 0644]
llvm/lib/Object/ObjectFile.cpp
llvm/unittests/Object/CMakeLists.txt
llvm/unittests/Object/GOFFObjectFileTest.cpp [new file with mode: 0644]