xref: /llvm-project/llvm/test/MC/X86/align-branch-section-type.s (revision b36a3e61400aed89d6abe4bd30b35af40805d4cb)
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 we only pad in a text section
4
5# CHECK-LABEL:  Name: text
6# CHECK:        AddressAlignment: 32
7.section text, "ax"
8ret
9
10# CHECK-LABEL:  Name: excluded
11# CHECK:        AddressAlignment: 1
12.section excluded, "e"
13ret
14
15# CHECK-LABEL:  Name: tls
16# CHECK:        AddressAlignment: 1
17.section tls, "awT"
18ret
19