Added XCOFF Object File Header for AIX. Added base functionality for XCOFF support. Will enhance the files in incremental PRs Details about XCOFF file format on AIX: [XCOFF](https://www.ibm.com/docs/en/aix/7.3?topic=formats-xcoff-object-file-format)
28 lines
652 B
YAML
28 lines
652 B
YAML
# RUN: yaml2obj %s -o %t
|
|
# RUN: lldb-test object-file %t | FileCheck %s
|
|
|
|
# CHECK: Plugin name: xcoff
|
|
# CHECK: Architecture: powerpc64-ibm-aix
|
|
# CHECK: Executable: true
|
|
# CHECK: Stripped: false
|
|
# CHECK: Type: executable
|
|
# CHECK: Strata: unknown
|
|
|
|
--- !XCOFF
|
|
FileHeader:
|
|
MagicNumber: 0x1F7
|
|
NumberOfSections: 1
|
|
CreationTime: 000000000
|
|
Flags: 0x0000
|
|
Sections:
|
|
- Name: .text
|
|
Address: 0x100000438
|
|
Size: 0x38
|
|
FileOffsetToData: 0x0
|
|
FileOffsetToLineNumbers: 0x0
|
|
NumberOfLineNumbers: 0x0
|
|
Flags: [ STYP_TEXT ]
|
|
SectionData: E8C20000E94204
|
|
StringTable: {}
|
|
...
|