Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / MC / ELF / align-text.s
blobb00af4a34b085bf1636e119f467e0bc48d9b8d95
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s | FileCheck %s
3 // Test that the .text directive doesn't cause alignment.
5 .zero 1
6 .text
7 .zero 1
9 // CHECK: Section {
10 // CHECK: Name: .text
11 // CHECK-NEXT: Type: SHT_PROGBITS
12 // CHECK-NEXT: Flags [
13 // CHECK-NEXT: SHF_ALLOC
14 // CHECK-NEXT: SHF_EXECINSTR
15 // CHECK-NEXT: ]
16 // CHECK-NEXT: Address: 0x0
17 // CHECK-NEXT: Offset: 0x40
18 // CHECK-NEXT: Size: 2
19 // CHECK-NEXT: Link: 0
20 // CHECK-NEXT: Info: 0
21 // CHECK-NEXT: AddressAlignment: 4
22 // CHECK-NEXT: EntrySize: 0
23 // CHECK-NEXT: }