1# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=ret %s | llvm-readobj -S - | FileCheck %s 2 3 # Check the aligment of section that contains instructions to be aligned 4 # is correctly set. 5 6 # CHECK: Name: text1 7 # CHECK: AddressAlignment: 32 8 .section text1, "ax" 9foo: 10 ret 11 12 # CHECK: Name: text2 13 # CHECK: AddressAlignment: 1 14 .section text2, "ax" 15 nop 16 17 # CHECK: Name: text3 18 # CHECK: AddressAlignment: 1 19 .section text3, "ax" 20 jmp foo 21