llvm-for-llvmta/test/MC/COFF/relax-reloc.s

8 lines
211 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// 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)