[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / COFF / temporary-alias.s
blobbe4297024afcfcd17a09c942c88150fcf7b45134
1 // RUN: llvm-mc -triple=i686-pc-windows -filetype=obj -o %t %s
2 // RUN: llvm-objdump -d -r %t | FileCheck %s
4 .globl _main
5 _main:
6 // CHECK: 00 00 00 00
7 // CHECK-NEXT: 00000002: IMAGE_REL_I386_DIR32 .rdata
8 movb L_alias1(%eax), %al
9 // CHECK: 01 00 00 00
10 // CHECK-NEXT: 00000008: IMAGE_REL_I386_DIR32 .rdata
11 movb L_alias2(%eax), %al
12 retl
14 .section .rdata,"dr"
15 L_sym1:
16 .ascii "\001"
17 L_sym2:
18 .ascii "\002"
20 L_alias1 = L_sym1
21 L_alias2 = L_sym2