1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/COFF/relax-reloc.s
Rafael Espindola ea71c6334d Don't crash trying to relax 32 loads on COFF.
Fixes pr28452.

llvm-svn: 274754
2016-07-07 14:00:07 +00:00

8 lines
211 B
ArmAsm

// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-win32
// Don't crash trying to create relaxable relocations on COFF.
movl bar(%eax), %ebx
add bar(%rip), %rax
call *bar(%rip)