[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / AlignedBundling / section-alignment.s
blob5cbe58e5675acf24ad5994733b6083bd9348ee30
1 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \
2 # RUN: | llvm-readobj --sections | FileCheck %s
4 # Test that bundle-aligned sections with instructions are aligned
6 .bundle_align_mode 5
7 # CHECK: Sections
8 # Check that the empty .text section has the default alignment
9 # CHECK-LABEL: Name: .text
10 # CHECK-NOT: Name
11 # CHECK: AddressAlignment: 4
13 .section text1, "x"
14 imull $17, %ebx, %ebp
15 # CHECK-LABEL: Name: text1
16 # CHECK-NOT: Name
17 # CHECK: AddressAlignment: 32
19 .section text2, "x"
20 imull $17, %ebx, %ebp
21 # CHECK-LABEL: Name: text2
22 # CHECK-NOT: Name
23 # CHECK: AddressAlignment: 32