forked from OSchip/llvm-project
test: fix tests/buildbots
Correct the yaml definition for the object. Adjust the symbol storage class which was flipped for the two symbols, resulting in the link failure due to the symbol missing. Adjust the virtual address of the section. This ripples into the test case, since the data has been shifted up by 4 bytes. llvm-svn: 225058
This commit is contained in:
parent
93930b65b8
commit
425505a9aa
|
@ -8,7 +8,7 @@ sections:
|
|||
Alignment: 4
|
||||
SectionData: '0000000000000000'
|
||||
Relocations:
|
||||
- VirtualAddress: 4
|
||||
- VirtualAddress: 0
|
||||
SymbolName: i
|
||||
Type: 1
|
||||
symbols:
|
||||
|
@ -29,11 +29,11 @@ symbols:
|
|||
SectionNumber: 1
|
||||
SimpleType: IMAGE_SYM_TYPE_NULL
|
||||
ComplexType: IMAGE_SYM_DTYPE_NULL
|
||||
StorageClass: IMAGE_SYM_CLASS_EXTERNAL
|
||||
StorageClass: IMAGE_SYM_CLASS_STATIC
|
||||
- Name: is
|
||||
Value: 4
|
||||
SectionNumber: 1
|
||||
SimpleType: IMAGE_SYM_TYPE_NULL
|
||||
ComplexType: IMAGE_SYM_DTYPE_NULL
|
||||
StorageClass: IMAGE_SYM_CLASS_STATIC
|
||||
StorageClass: IMAGE_SYM_CLASS_EXTERNAL
|
||||
...
|
||||
|
|
|
@ -7,5 +7,5 @@ BEFORE: Contents of section .rdata:
|
|||
BEFORE: 0000 00000000 00000000
|
||||
|
||||
AFTER: Contents of section .rdata:
|
||||
AFTER: 1000 00000000 00104000
|
||||
AFTER: 1000 00104000 00000000
|
||||
|
||||
|
|
Loading…
Reference in New Issue