• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: yaml2obj %s -o %t.obj
3# RUN: lld-link /out:%t.exe /entry:main %t.obj
4# RUN: llvm-as -o %t.lto.obj %S/Inputs/entry-mangled.ll
5# RUN: lld-link /out:%t.exe /entry:main %t.lto.obj
6
7--- !COFF
8header:
9  Machine:         IMAGE_FILE_MACHINE_AMD64
10  Characteristics: []
11sections:
12  - Name:            .text
13    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
14    Alignment:       4
15    SectionData:     000000000000
16symbols:
17  - Name:            .text
18    Value:           0
19    SectionNumber:   1
20    SimpleType:      IMAGE_SYM_TYPE_NULL
21    ComplexType:     IMAGE_SYM_DTYPE_NULL
22    StorageClass:    IMAGE_SYM_CLASS_STATIC
23    SectionDefinition:
24      Length:          6
25      NumberOfRelocations: 0
26      NumberOfLinenumbers: 0
27      CheckSum:        0
28      Number:          0
29      Selection:       IMAGE_COMDAT_SELECT_ANY
30  - Name:            '?main@@YAHXZ'
31    Value:           0
32    SectionNumber:   1
33    SimpleType:      IMAGE_SYM_TYPE_NULL
34    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
35    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
36...
37