brintos

brintos / llvm-project-archived public Read only

0
0
Text · 514 B · 0e1e949 Raw
19 lines · plain
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S - | FileCheck %s2 3// Test that the alignment does contribute to the size of the section.4 5	.zero 46	.align	87 8// CHECK:        Section {9// CHECK:          Name: .text10// CHECK-NEXT:     Type: SHT_PROGBITS11// CHECK-NEXT:     Flags [12// CHECK-NEXT:       SHF_ALLOC13// CHECK-NEXT:       SHF_EXECINSTR14// CHECK-NEXT:     ]15// CHECK-NEXT:     Address: 0x016// CHECK-NEXT:     Offset: 0x4017// CHECK-NEXT:     Size: 818// CHECK:        }19