[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / align-size.s
blob0e1e9495e65dea6f4e161585918623d1bea8d533
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S - | FileCheck %s
3 // Test that the alignment does contribute to the size of the section.
5 .zero 4
6 .align 8
8 // CHECK: Section {
9 // CHECK: Name: .text
10 // CHECK-NEXT: Type: SHT_PROGBITS
11 // CHECK-NEXT: Flags [
12 // CHECK-NEXT: SHF_ALLOC
13 // CHECK-NEXT: SHF_EXECINSTR
14 // CHECK-NEXT: ]
15 // CHECK-NEXT: Address: 0x0
16 // CHECK-NEXT: Offset: 0x40
17 // CHECK-NEXT: Size: 8
18 // CHECK: }