• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s | FileCheck %s
2
3// Test that the alignment does contribute to the size of the section.
4
5	.zero 4
6	.align	8
7
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:        }
19