1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Object/obj2yaml-coff-section-aux-symbol.test
David Majnemer d5db1139b9 Add tests for r219479.
llvm-svn: 219480
2014-10-10 06:59:05 +00:00

97 lines
4.1 KiB
Plaintext

RUN: yaml2obj %p/Inputs/COFF/section-aux-symbol.yaml | obj2yaml | FileCheck %s --check-prefix COFF-I386
COFF-I386: sections:
COFF-I386-NEXT: - Name: .CRT
COFF-I386: symbols:
COFF-I386: - Name: '.CRT$XCAA'
COFF-I386-NEXT: Value: 4
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 1
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XIAA'
COFF-I386-NEXT: Value: 16
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 1
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XLD'
COFF-I386-NEXT: Value: 36
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 1
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XLC'
COFF-I386-NEXT: Value: 32
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 1
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XDZ'
COFF-I386-NEXT: Value: 48
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 0
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XDA'
COFF-I386-NEXT: Value: 44
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 0
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XLZ'
COFF-I386-NEXT: Value: 40
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 0
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XLA'
COFF-I386-NEXT: Value: 28
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 0
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XIC'
COFF-I386-NEXT: Value: 20
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 1
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XCZ'
COFF-I386-NEXT: Value: 8
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 0
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XCA'
COFF-I386-NEXT: Value: 0
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 0
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XIZ'
COFF-I386-NEXT: Value: 24
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 0
COFF-I386-NEXT: NumberOfLinenumbers: 0
COFF-I386: - Name: '.CRT$XIA'
COFF-I386-NEXT: Value: 12
COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
COFF-I386-NEXT: SectionDefinition:
COFF-I386-NEXT: Length: 4
COFF-I386-NEXT: NumberOfRelocations: 0
COFF-I386-NEXT: NumberOfLinenumbers: 0