llvm-project/llvm/test/MC/COFF/relax-reloc.s

8 lines
211 B
ArmAsm
Raw Normal View History

// 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)