[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / Object / coff-sec-sym.test
blob0b7117250150debc3314a474b7ed0a7d131d52f9
1 # Check that section symbol (IMAGE_SYM_CLASS_SECTION) is listed as common symbol.
3 # RUN: yaml2obj %s -o %t.obj
4 # RUN: llvm-nm %t.obj | FileCheck %s
6 # CHECK: 00000001 C foo
8 --- !COFF
9 header:
10   Machine:         IMAGE_FILE_MACHINE_AMD64
11   Characteristics: [  ]
12 sections:
13 symbols:
14   - Name:            foo
15     Value:           1
16     SectionNumber:   0
17     SimpleType:      IMAGE_SYM_TYPE_NULL
18     ComplexType:     IMAGE_SYM_DTYPE_NULL
19     StorageClass:    IMAGE_SYM_CLASS_SECTION
20 ...