24 lines · plain
1// RUN: llvm-mc -filetype=obj -triple i386 %s -o - | llvm-objdump -d --no-show-raw-insn - | FileCheck %s2 3/// This is a case where the computed layout is not optimal. The4// issue is that after the first jmp slides, the .align size must be5// recomputed -- otherwise the second jump will appear to be out-of-range for a6// 1-byte jump.7 8// CHECK: int39// CHECK-NEXT: d2: int310// CHECK: e0: pushal11// CHECK: 140: jl 0xe012 13L0:14 .space 0x8a, 0x9015 jmp L016 .space (0xb3 - 0x8f), 0x9017 jle L218 .space (0xcd - 0xb5), 0x9019 .p2align 4, 0xcc20L1:21 .space (0x130 - 0xd0),0x6022 jl L123L2:24