[lld] r225058 - test: fix tests/buildbots
Saleem Abdulrasool
compnerd at compnerd.org
Wed Dec 31 19:39:49 PST 2014
Author: compnerd
Date: Wed Dec 31 21:39:48 2014
New Revision: 225058
URL: http://llvm.org/viewvc/llvm-project?rev=225058&view=rev
Log:
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.
Modified:
lld/trunk/test/pecoff/Inputs/armnt-addr32.obj.yaml
lld/trunk/test/pecoff/armnt-addr32.test
Modified: lld/trunk/test/pecoff/Inputs/armnt-addr32.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/armnt-addr32.obj.yaml?rev=225058&r1=225057&r2=225058&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/armnt-addr32.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/armnt-addr32.obj.yaml Wed Dec 31 21:39:48 2014
@@ -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
...
Modified: lld/trunk/test/pecoff/armnt-addr32.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/armnt-addr32.test?rev=225058&r1=225057&r2=225058&view=diff
==============================================================================
--- lld/trunk/test/pecoff/armnt-addr32.test (original)
+++ lld/trunk/test/pecoff/armnt-addr32.test Wed Dec 31 21:39:48 2014
@@ -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
More information about the llvm-commits
mailing list