[lld] r204215 - [PECOFF] Use richer ways of describing auxiliary symbols
David Majnemer
david.majnemer at gmail.com
Tue Mar 18 21:55:15 PDT 2014
Author: majnemer
Date: Tue Mar 18 23:55:14 2014
New Revision: 204215
URL: http://llvm.org/viewvc/llvm-project?rev=204215&view=rev
Log:
[PECOFF] Use richer ways of describing auxiliary symbols
Update all of the unit tests to use the new format.
This depends on D3092.
Reviewers: ruiu
Differential Revision: http://llvm-reviews.chandlerc.com/D3093
Modified:
lld/trunk/test/pecoff/Inputs/alternatename3.obj.yaml
lld/trunk/test/pecoff/Inputs/comdat.obj.yaml
lld/trunk/test/pecoff/Inputs/common-symbol.obj.yaml
lld/trunk/test/pecoff/Inputs/drectve.obj.yaml
lld/trunk/test/pecoff/Inputs/export.obj.yaml
lld/trunk/test/pecoff/Inputs/grouped-sections.obj.yaml
lld/trunk/test/pecoff/Inputs/hello.obj.yaml
lld/trunk/test/pecoff/Inputs/imagebase.obj.yaml
lld/trunk/test/pecoff/Inputs/machine-type-unknown.obj.yaml
lld/trunk/test/pecoff/Inputs/main.obj.yaml
lld/trunk/test/pecoff/Inputs/merge-largest1.obj.yaml
lld/trunk/test/pecoff/Inputs/merge-largest2.obj.yaml
lld/trunk/test/pecoff/Inputs/merge-same-size1.obj.yaml
lld/trunk/test/pecoff/Inputs/merge-same-size2.obj.yaml
lld/trunk/test/pecoff/Inputs/merge-same-size3.obj.yaml
lld/trunk/test/pecoff/Inputs/nop.obj.yaml
lld/trunk/test/pecoff/Inputs/nop64.obj.yaml
lld/trunk/test/pecoff/Inputs/reloc.obj.yaml
lld/trunk/test/pecoff/Inputs/reloc64-1.obj.yaml
lld/trunk/test/pecoff/Inputs/reloc64-2.obj.yaml
lld/trunk/test/pecoff/Inputs/seh.obj.yaml
lld/trunk/test/pecoff/Inputs/static-data1.obj.yaml
lld/trunk/test/pecoff/Inputs/static-data2.obj.yaml
lld/trunk/test/pecoff/Inputs/subsystem.main.yaml
lld/trunk/test/pecoff/Inputs/subsystem.winmain.yaml
lld/trunk/test/pecoff/Inputs/unknown-drectve.obj.yaml
lld/trunk/test/pecoff/Inputs/unwind.obj.yaml
lld/trunk/test/pecoff/Inputs/vars-main.obj.yaml
lld/trunk/test/pecoff/Inputs/weak-externals.obj.yaml
Modified: lld/trunk/test/pecoff/Inputs/alternatename3.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/alternatename3.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/alternatename3.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/alternatename3.obj.yaml Tue Mar 18 23:55:14 2014
@@ -30,6 +30,10 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0D0000000000000000000000000000000000
+ SectionDefinition:
+ Length: 13
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
...
Modified: lld/trunk/test/pecoff/Inputs/comdat.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/comdat.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/comdat.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/comdat.obj.yaml Tue Mar 18 23:55:14 2014
@@ -18,16 +18,26 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0700000000000000C979F796000002000000
+ SectionDefinition:
+ Length: 7
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 2532800969
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_ANY
- Name: .text
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0700000000000000C979F796000002000000
+ SectionDefinition:
+ Length: 7
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 2532800969
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_ANY
- Name: "?inlinefn1@@YAHXZ"
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/common-symbol.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/common-symbol.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/common-symbol.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/common-symbol.obj.yaml Tue Mar 18 23:55:14 2014
@@ -18,16 +18,24 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 040000000000000000000000000000000000
+ SectionDefinition:
+ Length: 4
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _bssdata1
Value: 4
SectionNumber: 0
Modified: lld/trunk/test/pecoff/Inputs/drectve.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/drectve.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/drectve.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/drectve.obj.yaml Tue Mar 18 23:55:14 2014
@@ -28,8 +28,12 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 1F000000030000008C7450D6000000000000
+ SectionDefinition:
+ Length: 31
+ NumberOfRelocations: 3
+ NumberOfLinenumbers: 0
+ CheckSum: 3595596940
+ Number: 0
- Name: __imp__fn
Value: 0
SectionNumber: 0
@@ -60,6 +64,10 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0D0000000000000000000000000000000000
+ SectionDefinition:
+ Length: 13
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
...
Modified: lld/trunk/test/pecoff/Inputs/export.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/export.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/export.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/export.obj.yaml Tue Mar 18 23:55:14 2014
@@ -14,8 +14,12 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 1C0000000400000000000000000000000000
+ SectionDefinition:
+ Length: 28
+ NumberOfRelocations: 4
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _init
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/grouped-sections.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/grouped-sections.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/grouped-sections.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/grouped-sections.obj.yaml Tue Mar 18 23:55:14 2014
@@ -26,32 +26,48 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 010000000000000000000000000000000000
+ SectionDefinition:
+ Length: 1
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 040000000000000000000000000000000000
+ SectionDefinition:
+ Length: 4
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: ".data$2"
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 050000000000000000000000000000000000
+ SectionDefinition:
+ Length: 5
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: ".data$1"
Value: 0
SectionNumber: 4
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 040000000000000000000000000000000000
+ SectionDefinition:
+ Length: 4
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: foo
Value: 2
SectionNumber: 4
Modified: lld/trunk/test/pecoff/Inputs/hello.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/hello.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/hello.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/hello.obj.yaml Tue Mar 18 23:55:14 2014
@@ -41,16 +41,24 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 1C0000000400000000000000000000000000
+ SectionDefinition:
+ Length: 28
+ NumberOfRelocations: 4
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 120000000000000000000000000000000000
+ SectionDefinition:
+ Length: 18
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _MessageBoxA at 16
Value: 0
SectionNumber: 0
@@ -87,6 +95,10 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0C0000000000000000000000000000000000
+ SectionDefinition:
+ Length: 12
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
...
Modified: lld/trunk/test/pecoff/Inputs/imagebase.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/imagebase.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/imagebase.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/imagebase.obj.yaml Tue Mar 18 23:55:14 2014
@@ -22,16 +22,24 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 060000000100000000000000000000000000
+ SectionDefinition:
+ Length: 6
+ NumberOfRelocations: 1
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: ___ImageBase
Value: 0
SectionNumber: 0
Modified: lld/trunk/test/pecoff/Inputs/machine-type-unknown.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/machine-type-unknown.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/machine-type-unknown.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/machine-type-unknown.obj.yaml Tue Mar 18 23:55:14 2014
@@ -32,6 +32,7 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_WEAK_EXTERNAL
- NumberOfAuxSymbols: 1
- AuxiliaryData: 020000000300000000000000000000000000
+ WeakExternal:
+ TagIndex: 2
+ Characteristics: IMAGE_WEAK_EXTERN_SEARCH_ALIAS
...
Modified: lld/trunk/test/pecoff/Inputs/main.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/main.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/main.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/main.obj.yaml Tue Mar 18 23:55:14 2014
@@ -31,16 +31,24 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0C0000000200000000000000000000000000
+ SectionDefinition:
+ Length: 12
+ NumberOfRelocations: 2
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _val1
Value: 0
SectionNumber: 0
Modified: lld/trunk/test/pecoff/Inputs/merge-largest1.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/merge-largest1.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/merge-largest1.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/merge-largest1.obj.yaml Tue Mar 18 23:55:14 2014
@@ -14,8 +14,13 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0700000000000000C979F796000006000000
+ SectionDefinition:
+ Length: 7
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 2532800969
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_LARGEST
- Name: "_foo"
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/merge-largest2.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/merge-largest2.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/merge-largest2.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/merge-largest2.obj.yaml Tue Mar 18 23:55:14 2014
@@ -14,8 +14,13 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0700000000000000C979F796000006000000
+ SectionDefinition:
+ Length: 7
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 2532800969
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_LARGEST
- Name: "_foo"
Value: 6
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/merge-same-size1.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/merge-same-size1.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/merge-same-size1.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/merge-same-size1.obj.yaml Tue Mar 18 23:55:14 2014
@@ -14,8 +14,13 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0700000000000000C979F796000003000000
+ SectionDefinition:
+ Length: 7
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 2532800969
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_SAME_SIZE
- Name: "_foo"
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/merge-same-size2.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/merge-same-size2.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/merge-same-size2.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/merge-same-size2.obj.yaml Tue Mar 18 23:55:14 2014
@@ -14,8 +14,13 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0700000000000000C979F796000003000000
+ SectionDefinition:
+ Length: 7
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 2532800969
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_SAME_SIZE
- Name: "_foo"
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/merge-same-size3.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/merge-same-size3.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/merge-same-size3.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/merge-same-size3.obj.yaml Tue Mar 18 23:55:14 2014
@@ -14,8 +14,13 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0700000000000000C979F796000003000000
+ SectionDefinition:
+ Length: 7
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 2532800969
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_SAME_SIZE
- Name: "_foo"
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/nop.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/nop.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/nop.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/nop.obj.yaml Tue Mar 18 23:55:14 2014
@@ -24,16 +24,24 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 060000000000000000000000000000000000
+ SectionDefinition:
+ Length: 6
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _start
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/nop64.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/nop64.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/nop64.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/nop64.obj.yaml Tue Mar 18 23:55:14 2014
@@ -34,24 +34,36 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 010000000000000000000000000000000000
+ SectionDefinition:
+ Length: 1
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: '.debug$S'
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 6C0000000000000000000000000000000000
+ SectionDefinition:
+ Length: 108
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: start
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/reloc.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/reloc.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/reloc.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/reloc.obj.yaml Tue Mar 18 23:55:14 2014
@@ -34,16 +34,24 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 3C0000000300000000000000010000000000
+ SectionDefinition:
+ Length: 60
+ NumberOfRelocations: 3
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 1
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0E0000000000000000000000020000000000
+ SectionDefinition:
+ Length: 14
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 2
- Name: _main
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/reloc64-1.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/reloc64-1.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/reloc64-1.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/reloc64-1.obj.yaml Tue Mar 18 23:55:14 2014
@@ -38,24 +38,36 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 060000000100000000000000000000000000
+ SectionDefinition:
+ Length: 6
+ NumberOfRelocations: 1
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: '.debug$S'
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 6C0000000000000000000000000000000000
+ SectionDefinition:
+ Length: 108
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: fn2
Value: 0
SectionNumber: 0
Modified: lld/trunk/test/pecoff/Inputs/reloc64-2.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/reloc64-2.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/reloc64-2.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/reloc64-2.obj.yaml Tue Mar 18 23:55:14 2014
@@ -34,24 +34,36 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 010000000000000000000000000000000000
+ SectionDefinition:
+ Length: 1
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: '.debug$S'
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 6C0000000000000000000000000000000000
+ SectionDefinition:
+ Length: 108
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: fn2
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/seh.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/seh.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/seh.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/seh.obj.yaml Tue Mar 18 23:55:14 2014
@@ -134,24 +134,37 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: F00000000000000000000000000000000000
+ SectionDefinition:
+ Length: 240
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: '.debug$S'
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 6C0000000000000000000000000000000000
+ SectionDefinition:
+ Length: 108
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .rdata
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 010000000000000000000000000002000000
+ SectionDefinition:
+ Length: 1
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_ANY
- Name: '?value@?$integral_constant at _N$0A@@std@@2_NB'
Value: 0
SectionNumber: 3
@@ -164,8 +177,13 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 010000000000000096300777000002000000
+ SectionDefinition:
+ Length: 1
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 1996959894
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_ANY
- Name: '?value@?$integral_constant at _N$00 at std@@2_NB'
Value: 0
SectionNumber: 4
@@ -178,8 +196,12 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 63000000000000004E69FDA6000000000000
+ SectionDefinition:
+ Length: 99
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 2801625422
+ Number: 0
- Name: '$SG73531'
Value: 0
SectionNumber: 5
@@ -204,16 +226,25 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 4F01000011000000394E4F94000000000000
+ SectionDefinition:
+ Length: 335
+ NumberOfRelocations: 17
+ NumberOfLinenumbers: 0
+ CheckSum: 2488225337
+ Number: 0
- Name: '.text$mn'
Value: 0
SectionNumber: 7
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 19000000020000002DFF8C0C000002000000
+ SectionDefinition:
+ Length: 25
+ NumberOfRelocations: 2
+ NumberOfLinenumbers: 0
+ CheckSum: 210566957
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_ANY
- Name: __imp__printf
Value: 0
SectionNumber: 0
@@ -298,8 +329,12 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 3C00000004000000E076DCAC000000000000
+ SectionDefinition:
+ Length: 60
+ NumberOfRelocations: 4
+ NumberOfLinenumbers: 0
+ CheckSum: 2900129504
+ Number: 0
- Name: '__sehtable$?foo@@YAXXZ'
Value: 32
SectionNumber: 8
@@ -318,8 +353,13 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 180000000000000039E9484D000002000000
+ SectionDefinition:
+ Length: 24
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 1296623929
+ Number: 0
+ Selection: IMAGE_COMDAT_SELECT_ANY
- Name: '??_C at _0BI@BBHGNMOG at Destroying?5TestClass?$CB?$AN?6?$AA@'
Value: 0
SectionNumber: 9
@@ -338,6 +378,10 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 040000000000000000000000000000000000
+ SectionDefinition:
+ Length: 4
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
...
Modified: lld/trunk/test/pecoff/Inputs/static-data1.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/static-data1.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/static-data1.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/static-data1.obj.yaml Tue Mar 18 23:55:14 2014
@@ -28,24 +28,36 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 040000000000000000000000000000000000
+ SectionDefinition:
+ Length: 4
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: ".debug$S"
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 740000000000000000000000000000000000
+ SectionDefinition:
+ Length: 116
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _val1
Value: 0
SectionNumber: 2
Modified: lld/trunk/test/pecoff/Inputs/static-data2.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/static-data2.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/static-data2.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/static-data2.obj.yaml Tue Mar 18 23:55:14 2014
@@ -28,24 +28,36 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 040000000000000000000000000000000000
+ SectionDefinition:
+ Length: 4
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: ".debug$S"
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 740000000000000000000000000000000000
+ SectionDefinition:
+ Length: 116
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _val2
Value: 0
SectionNumber: 2
Modified: lld/trunk/test/pecoff/Inputs/subsystem.main.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/subsystem.main.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/subsystem.main.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/subsystem.main.yaml Tue Mar 18 23:55:14 2014
@@ -14,8 +14,12 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 060000000000000000000000000000000000
+ SectionDefinition:
+ Length: 6
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _main
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/subsystem.winmain.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/subsystem.winmain.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/subsystem.winmain.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/subsystem.winmain.yaml Tue Mar 18 23:55:14 2014
@@ -14,8 +14,12 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 060000000000000000000000000000000000
+ SectionDefinition:
+ Length: 6
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _WinMain
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/unknown-drectve.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/unknown-drectve.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/unknown-drectve.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/unknown-drectve.obj.yaml Tue Mar 18 23:55:14 2014
@@ -21,14 +21,22 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 1F000000030000008C7450D6000000000000
+ SectionDefinition:
+ Length: 31
+ NumberOfRelocations: 3
+ NumberOfLinenumbers: 0
+ CheckSum: 3595596940
+ Number: 0
- Name: .drectve
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 0D0000000000000000000000000000000000
+ SectionDefinition:
+ Length: 13
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
...
Modified: lld/trunk/test/pecoff/Inputs/unwind.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/unwind.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/unwind.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/unwind.obj.yaml Tue Mar 18 23:55:14 2014
@@ -72,24 +72,36 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 390000000000000000000000010000000000
+ SectionDefinition:
+ Length: 57
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 1
- Name: .xdata
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 440000000400000000000000020000000000
+ SectionDefinition:
+ Length: 68
+ NumberOfRelocations: 4
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 2
- Name: .pdata
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 300000000C00000000000000030000000000
+ SectionDefinition:
+ Length: 48
+ NumberOfRelocations: 12
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 3
- Name: func
Value: 0
SectionNumber: 1
Modified: lld/trunk/test/pecoff/Inputs/vars-main.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/vars-main.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/vars-main.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/vars-main.obj.yaml Tue Mar 18 23:55:14 2014
@@ -24,8 +24,12 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 1F000000030000008C7450D6000000000000
+ SectionDefinition:
+ Length: 31
+ NumberOfRelocations: 3
+ NumberOfLinenumbers: 0
+ CheckSum: 3595596940
+ Number: 0
- Name: __imp__fn
Value: 0
SectionNumber: 0
Modified: lld/trunk/test/pecoff/Inputs/weak-externals.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/Inputs/weak-externals.obj.yaml?rev=204215&r1=204214&r2=204215&view=diff
==============================================================================
--- lld/trunk/test/pecoff/Inputs/weak-externals.obj.yaml (original)
+++ lld/trunk/test/pecoff/Inputs/weak-externals.obj.yaml Tue Mar 18 23:55:14 2014
@@ -28,16 +28,24 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 140000000300000000000000000000000000
+ SectionDefinition:
+ Length: 20
+ NumberOfRelocations: 3
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: .data
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- NumberOfAuxSymbols: 1
- AuxiliaryData: 000000000000000000000000000000000000
+ SectionDefinition:
+ Length: 0
+ NumberOfRelocations: 0
+ NumberOfLinenumbers: 0
+ CheckSum: 0
+ Number: 0
- Name: _no_such_symbol1
Value: 0
SectionNumber: 0
@@ -62,16 +70,18 @@ symbols:
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_WEAK_EXTERNAL
- NumberOfAuxSymbols: 1
- AuxiliaryData: 040000000200000000000000000000000000
+ WeakExternal:
+ TagIndex: 4
+ Characteristics: IMAGE_WEAK_EXTERN_SEARCH_LIBRARY
- Name: _no_such_symbol2
Value: 0
SectionNumber: 0
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_WEAK_EXTERNAL
- NumberOfAuxSymbols: 1
- AuxiliaryData: 050000000200000000000000000000000000
+ WeakExternal:
+ TagIndex: 5
+ Characteristics: IMAGE_WEAK_EXTERN_SEARCH_LIBRARY
- Name: _fn1
Value: 0
SectionNumber: 1
More information about the llvm-commits
mailing list