mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 01:11:44 +00:00
1c1cc1c5ed
As announced here: http://lists.llvm.org/pipermail/llvm-dev/2019-April/131786.html Grouped option syntax (POSIX Utility Conventions) does not play well with -long-option A subsequent change will reject -long-option.
20 lines
557 B
ArmAsm
20 lines
557 B
ArmAsm
// By default, the jmp here does not need relaxation (so the 0xeb opdoce can be
|
|
// used).
|
|
// However, with -mc-relax-all passed to MC, all jumps are relaxed and we
|
|
// expect to see a different instruction.
|
|
|
|
// RUN: llvm-mc -filetype=obj -mc-relax-all -triple x86_64-pc-linux-gnu %s -o - \
|
|
// RUN: | llvm-objdump -d - | FileCheck --check-prefix=RELAXALL %s
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \
|
|
// RUN: | llvm-objdump -d - | FileCheck %s
|
|
|
|
.text
|
|
foo:
|
|
mov %rax, %rax
|
|
jmp foo
|
|
|
|
// RELAXALL: 3: e9
|
|
// CHECK: 3: eb
|
|
|