3 # RUN: yaml2obj %s -o %t.obj
4 # RUN: llvm-objdump -s %t.obj | FileCheck %s --check-prefix BEFORE
5 # RUN: lld-link /entry:function /subsystem:console /out:%t.exe %t.obj
6 # RUN: llvm-objdump -s %t.exe | FileCheck %s --check-prefix AFTER
8 # BEFORE: Contents of section .text:
9 # BEFORE: 0000 704700bf 01000000 01000000
11 # AFTER: Contents of section .text:
12 # AFTER: 401000 704700bf faffffff f50f0000
16 Machine: IMAGE_FILE_MACHINE_ARMNT
20 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_PURGEABLE, IMAGE_SCN_MEM_16BIT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
22 SectionData: 704700BF0100000001000000
26 Type: IMAGE_REL_ARM_REL32
29 Type: IMAGE_REL_ARM_REL32
31 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
38 SimpleType: IMAGE_SYM_TYPE_NULL
39 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
40 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
44 SimpleType: IMAGE_SYM_TYPE_NULL
45 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
46 StorageClass: IMAGE_SYM_CLASS_EXTERNAL