blob: 0b7117250150debc3314a474b7ed0a7d131d52f9 [file] [log] [blame]
# Check that section symbol (IMAGE_SYM_CLASS_SECTION) is listed as common symbol.
# RUN: yaml2obj %s -o %t.obj
# RUN: llvm-nm %t.obj | FileCheck %s
# CHECK: 00000001 C foo
--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
sections:
symbols:
- Name: foo
Value: 1
SectionNumber: 0
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_SECTION
...