llvm/test/Object/obj2yaml-coff-section-aux-symbol.test
David Majnemer afb7eea976 Add tests for r219479.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219480 91177308-0d34-0410-b5e6-96231b3b80d8
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