aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ObjectFile
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/ObjectFile')
-rw-r--r--lldb/test/Shell/ObjectFile/XCOFF/basic-info.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/lldb/test/Shell/ObjectFile/XCOFF/basic-info.yaml b/lldb/test/Shell/ObjectFile/XCOFF/basic-info.yaml
new file mode 100644
index 0000000..761d66a
--- /dev/null
+++ b/lldb/test/Shell/ObjectFile/XCOFF/basic-info.yaml
@@ -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: {}
+...