[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / entry-mangled.test
blob6812f72ae40e24c9eb375f108c75540c555c4947
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
7 --- !COFF
8 header:
9   Machine:         IMAGE_FILE_MACHINE_AMD64
10   Characteristics: []
11 sections:
12   - Name:            .text
13     Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
14     Alignment:       4
15     SectionData:     000000000000
16 symbols:
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 ...