You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
606 B
24 lines
606 B
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \
|
|
# RUN: | llvm-readobj -sections | FileCheck %s
|
|
|
|
# Test that bundle-aligned sections with instructions are aligned
|
|
|
|
.bundle_align_mode 5
|
|
# CHECK: Sections
|
|
# Check that the empty .text section has the default alignment
|
|
# CHECK-LABEL: Name: .text
|
|
# CHECK-NOT: Name
|
|
# CHECK: AddressAlignment: 4
|
|
|
|
.section text1, "x"
|
|
imull $17, %ebx, %ebp
|
|
# CHECK-LABEL: Name: text1
|
|
# CHECK-NOT: Name
|
|
# CHECK: AddressAlignment: 32
|
|
|
|
.section text2, "x"
|
|
imull $17, %ebx, %ebp
|
|
# CHECK-LABEL: Name: text2
|
|
# CHECK-NOT: Name
|
|
# CHECK: AddressAlignment: 32
|