• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: arm
2
3# RUN: yaml2obj %s -o %t.exe
4# RUN: %lldb %t.exe -o "disassemble -b -n entry" -b | FileCheck %s
5
6# CHECK: {{.*}}.exe[0x401000] <+0>: 0x0040 lsls   r0, r0, #0x1
7# CHECK: {{.*}}.exe[0x401002] <+2>: 0x4770 bx     lr
8
9--- !COFF
10OptionalHeader:
11  AddressOfEntryPoint: 4097
12  ImageBase:       4194304
13  SectionAlignment: 4096
14  FileAlignment:   512
15  MajorOperatingSystemVersion: 6
16  MinorOperatingSystemVersion: 0
17  MajorImageVersion: 0
18  MinorImageVersion: 0
19  MajorSubsystemVersion: 6
20  MinorSubsystemVersion: 0
21  Subsystem:       IMAGE_SUBSYSTEM_WINDOWS_CUI
22  DLLCharacteristics: [ IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE, IMAGE_DLL_CHARACTERISTICS_NX_COMPAT, IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE ]
23  SizeOfStackReserve: 1048576
24  SizeOfStackCommit: 4096
25  SizeOfHeapReserve: 1048576
26  SizeOfHeapCommit: 4096
27  ExportTable:
28    RelativeVirtualAddress: 0
29    Size:            0
30  ImportTable:
31    RelativeVirtualAddress: 0
32    Size:            0
33  ResourceTable:
34    RelativeVirtualAddress: 0
35    Size:            0
36  ExceptionTable:
37    RelativeVirtualAddress: 0
38    Size:            0
39  CertificateTable:
40    RelativeVirtualAddress: 0
41    Size:            0
42  BaseRelocationTable:
43    RelativeVirtualAddress: 0
44    Size:            0
45  Debug:
46    RelativeVirtualAddress: 0
47    Size:            0
48  Architecture:
49    RelativeVirtualAddress: 0
50    Size:            0
51  GlobalPtr:
52    RelativeVirtualAddress: 0
53    Size:            0
54  TlsTable:
55    RelativeVirtualAddress: 0
56    Size:            0
57  LoadConfigTable:
58    RelativeVirtualAddress: 0
59    Size:            0
60  BoundImport:
61    RelativeVirtualAddress: 0
62    Size:            0
63  IAT:
64    RelativeVirtualAddress: 0
65    Size:            0
66  DelayImportDescriptor:
67    RelativeVirtualAddress: 0
68    Size:            0
69  ClrRuntimeHeader:
70    RelativeVirtualAddress: 0
71    Size:            0
72header:
73  Machine:         IMAGE_FILE_MACHINE_ARMNT
74  Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_32BIT_MACHINE ]
75sections:
76  - Name:            .text
77    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
78    VirtualAddress:  4096
79    VirtualSize:     4
80    SectionData:     '40007047'
81symbols:
82  - Name:            .text
83    Value:           0
84    SectionNumber:   1
85    SimpleType:      IMAGE_SYM_TYPE_NULL
86    ComplexType:     IMAGE_SYM_DTYPE_NULL
87    StorageClass:    IMAGE_SYM_CLASS_STATIC
88  - Name:            entry
89    Value:           0
90    SectionNumber:   1
91    SimpleType:      IMAGE_SYM_TYPE_NULL
92    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
93    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
94...
95