From 425505a9aa3bff9a8c62e94ee9690529b3718a7b Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 1 Jan 2015 03:39:48 +0000 Subject: [PATCH] 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 --- lld/test/pecoff/Inputs/armnt-addr32.obj.yaml | 6 +++--- lld/test/pecoff/armnt-addr32.test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lld/test/pecoff/Inputs/armnt-addr32.obj.yaml b/lld/test/pecoff/Inputs/armnt-addr32.obj.yaml index b130263..62ae2c6 100644 --- a/lld/test/pecoff/Inputs/armnt-addr32.obj.yaml +++ b/lld/test/pecoff/Inputs/armnt-addr32.obj.yaml @@ -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 ... diff --git a/lld/test/pecoff/armnt-addr32.test b/lld/test/pecoff/armnt-addr32.test index b586beb..716217d 100644 --- a/lld/test/pecoff/armnt-addr32.test +++ b/lld/test/pecoff/armnt-addr32.test @@ -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 -- 2.7.4