[lldb][AIX] Added XCOFF Object File Header for AIX (#111814)
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)
This commit is contained in:
27
lldb/test/Shell/ObjectFile/XCOFF/basic-info.yaml
Normal file
27
lldb/test/Shell/ObjectFile/XCOFF/basic-info.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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: {}
|
||||
...
|
||||
Reference in New Issue
Block a user