xref: /aosp_15_r20/external/llvm/test/MC/COFF/relax-reloc.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-win32
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker// Don't crash trying to create relaxable relocations on COFF.
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker        movl bar(%eax), %ebx
6*9880d681SAndroid Build Coastguard Worker        add   bar(%rip), %rax
7*9880d681SAndroid Build Coastguard Worker        call *bar(%rip)
8