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:
Saleem Abdulrasool 2015-01-01 03:39:48 +00:00
parent 93930b65b8
commit 425505a9aa
2 changed files with 4 additions and 4 deletions

View File

@ -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
...

View File

@ -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