[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / lld / test / COFF / loadcfg-uninitialized.test
blob5f956bc7224bc902d40ade7547d7f339058b8717
1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: not lld-link -out:%t.dll %t.obj -dll -noentry 2>&1 | FileCheck %s
3 # CHECK: lld-link: error: _load_config_used points to uninitialized data
5 --- !COFF
6 header:
7   Machine:         IMAGE_FILE_MACHINE_AMD64
8   Characteristics: []
9 sections:
10   - Name:            .rdata
11     Characteristics: [ IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
12     Alignment:       16
13     VirtualSize:     0x140
14 symbols:
15   - Name:            .rdata
16     Value:           0
17     SectionNumber:   1
18     SimpleType:      IMAGE_SYM_TYPE_NULL
19     ComplexType:     IMAGE_SYM_DTYPE_NULL
20     StorageClass:    IMAGE_SYM_CLASS_STATIC
21     SectionDefinition:
22       Length:          112
23       NumberOfRelocations: 0
24       NumberOfLinenumbers: 0
25       CheckSum:        0
26       Number:          3
27   - Name:            _load_config_used
28     Value:           0
29     SectionNumber:   1
30     SimpleType:      IMAGE_SYM_TYPE_NULL
31     ComplexType:     IMAGE_SYM_DTYPE_NULL
32     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
33 ...