21 lines · plain
1# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=ret %s | llvm-readobj -S - | FileCheck %s2 3 # Check the aligment of section that contains instructions to be aligned4 # is correctly set.5 6 # CHECK: Name: text17 # CHECK: AddressAlignment: 328 .section text1, "ax"9foo:10 ret11 12 # CHECK: Name: text213 # CHECK: AddressAlignment: 114 .section text2, "ax"15 nop16 17 # CHECK: Name: text318 # CHECK: AddressAlignment: 119 .section text3, "ax"20 jmp foo21