brintos

brintos / llvm-project-archived public Read only

0
0
Text · 397 B · 76289a1 Raw
25 lines · plain
1// RUN: llvm-mc %s -triple i386-unknown-unknown2 3// Make sure %eip is allowed as a register in cfi directives in 32-bit mode4 5 .text6 .align 47 .globl foo8 9foo:10 .cfi_startproc11 12 movl (%edx), %ecx13 movl 4(%edx), %ebx14 movl 8(%edx), %esi15 movl 12(%edx), %edi16 movl 16(%edx), %ebp17 .cfi_def_cfa %edx, 018 .cfi_offset %eip, 2419 .cfi_register %esp, %ecx20 movl %ecx, %esp21 22 jmp *24(%edx)23 24 .cfi_endproc25