[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / ELF / common2.s
blob54a27b05b2356e4a2a43a581e97395f46c1a9890
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S | FileCheck %s
3 // Test local common construction.
4 // Unlike gas, common symbols are created when found, not at the end of .bss.
5 // In this example it causes .bss to have size 8 instead of 9.
7 .local vimvardict
8 .comm vimvardict,1,8
9 .bss
10 .zero 1
11 .align 8
13 // CHECK: Section {
14 // CHECK: Name: .bss
15 // CHECK-NEXT: Type:
16 // CHECK-NEXT: Flags [
17 // CHECK: ]
18 // CHECK-NEXT: Address:
19 // CHECK-NEXT: Offset:
20 // CHECK-NEXT: Size: 8
21 // CHECK-NEXT: Link:
22 // CHECK-NEXT: Info:
23 // CHECK-NEXT: AddressAlignment:
24 // CHECK-NEXT: EntrySize:
25 // CHECK-NEXT: }