[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / COFF / secidx.s
blob588dd261265d146024a9e46fb59ad9d70f0bf0b0
1 // RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -S --sr - | FileCheck %s
3 // check that we produce the correct relocation for .secidx
5 Lfoo:
6 .secidx Lfoo
7 .short 0
8 .secidx Lbar
9 .short 0
11 .section spam
12 Lbar:
13 ret
15 // CHECK: Relocations [
16 // CHECK-NEXT: 0x0 IMAGE_REL_I386_SECTION .text
17 // CHECK-NEXT: 0x4 IMAGE_REL_I386_SECTION spam
18 // CHECK-NEXT: ]