[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / internal.test
blob01995d88fb2cd80504aeacd457241dd3c1764181
1 # Test that non-external symbols don't conflict
3 # RUN: yaml2obj %s -o %t1.obj
4 # RUN: yaml2obj %s -o %t2.obj
5 # RUN: yaml2obj %p/Inputs/ret42.yaml -o %t3.obj
6 # RUN: lld-link /out:%t.exe /entry:main %t1.obj %t2.obj %t3.obj
8 --- !COFF
9 header:
10   Machine:         IMAGE_FILE_MACHINE_AMD64
11   Characteristics: []
12 sections:
13   - Name:            .text
14     Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
15     Alignment:       4
16     SectionData:     000000000000
17 symbols:
18   - Name:            .text
19     Value:           0
20     SectionNumber:   1
21     SimpleType:      IMAGE_SYM_TYPE_NULL
22     ComplexType:     IMAGE_SYM_DTYPE_NULL
23     StorageClass:    IMAGE_SYM_CLASS_STATIC
24     SectionDefinition:
25       Length:          6
26       NumberOfRelocations: 0
27       NumberOfLinenumbers: 0
28       CheckSum:        0
29       Number:          0
30   - Name:            defined
31     Value:           0
32     SectionNumber:   1
33     SimpleType:      IMAGE_SYM_TYPE_NULL
34     ComplexType:     IMAGE_SYM_DTYPE_NULL
35     StorageClass:    IMAGE_SYM_CLASS_STATIC
36   - Name:            absolute
37     Value:           0xdeadbeef
38     SectionNumber:   -1
39     SimpleType:      IMAGE_SYM_TYPE_NULL
40     ComplexType:     IMAGE_SYM_DTYPE_NULL
41     StorageClass:    IMAGE_SYM_CLASS_STATIC
42 ...