• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple=i686-pc-windows -filetype=obj -o %t %s
2// RUN: llvm-objdump -d -r %t | FileCheck %s
3
4.globl _main
5_main:
6// CHECK: 00 00 00 00
7// CHECK-NEXT: 00000002:  IMAGE_REL_I386_DIR32 .rdata
8movb L_alias1(%eax), %al
9// CHECK: 01 00 00 00
10// CHECK-NEXT: 00000008:  IMAGE_REL_I386_DIR32 .rdata
11movb L_alias2(%eax), %al
12retl
13
14.section .rdata,"dr"
15L_sym1:
16.ascii "\001"
17L_sym2:
18.ascii "\002"
19
20L_alias1 = L_sym1
21L_alias2 = L_sym2
22