1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=call+indirect %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=64BIT,CHECK
3 # RUN: llvm-mc -filetype=obj -triple i386 --x86-align-branch-boundary=32 --x86-align-branch=call+indirect %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=32BIT,CHECK
5 # Exercise cases where the instruction to be aligned has a variant symbol
6 # operand, and we can't add before it since linker may rewrite it.
20 call ___tls_get_addr@PLT
28 # 64BIT: 5e: callq *(%ecx)
30 # 32BIT: 5e: calll *(%ecx)
32 call
*___tls_get_addr@GOT
(%ecx
)
40 # 64BIT: 9e: callq *(%eax)
42 # 32BIT: 9e: calll *(%eax)
44 call
*foo@tlscall
(%eax
)
52 # 64BIT: de: jmpq *(%eax)
54 # 32BIT: de: jmpl *(%eax)
56 jmp
*foo@tlscall
(%eax
)