Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / ELF / align-bss.s
blob9e9cd7d3aaf83b489a02c9873e6f5fbbf8b34421
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S - | FileCheck %s
3 // Test that the bss section is correctly aligned
5 .local foo
6 .comm foo,2048,16
8 // CHECK: Section {
9 // CHECK: Name: .bss
10 // CHECK-NEXT: Type: SHT_NOBITS
11 // CHECK-NEXT: Flags [
12 // CHECK-NEXT: SHF_ALLOC
13 // CHECK-NEXT: SHF_WRITE
14 // CHECK-NEXT: ]
15 // CHECK-NEXT: Address: 0x0
16 // CHECK-NEXT: Offset: 0x40
17 // CHECK-NEXT: Size: 2048
18 // CHECK-NEXT: Link: 0
19 // CHECK-NEXT: Info: 0
20 // CHECK-NEXT: AddressAlignment: 16
21 // CHECK-NEXT: EntrySize: 0
22 // CHECK-NEXT: }