1 // By default
, the jmp here does
not need relaxation
(so the
0xeb opdoce can
be
3 // However
, with
-mc-relax-all passed to MC
, all jumps are relaxed
and we
4 // expect to see
a different instruction.
6 // RUN
: llvm-mc
-filetype
=obj
-mc-relax-all
-triple x86_64-pc-linux-gnu
%s
-o
- \
7 // RUN
: | llvm-objdump
-disassemble
- | FileCheck
-check-prefix
=RELAXALL
%s
9 // RUN
: llvm-mc
-filetype
=obj
-triple x86_64-pc-linux-gnu
%s
-o
- \
10 // RUN
: | llvm-objdump
-disassemble
- | FileCheck
%s