brintos

brintos / llvm-project-archived public Read only

0
0
Text · 701 B · ad3998b Raw
26 lines · plain
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S - | FileCheck %s2 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.6 7	.local	vimvardict8	.comm	vimvardict,1,89	.bss10        .zero 111	.align	812 13// CHECK:        Section {14// CHECK:          Name: .bss15// CHECK-NEXT:     Type:16// CHECK-NEXT:     Flags [17// CHECK:          ]18// CHECK-NEXT:     Address:19// CHECK-NEXT:     Offset:20// CHECK-NEXT:     Size: 821// CHECK-NEXT:     Link:22// CHECK-NEXT:     Info:23// CHECK-NEXT:     AddressAlignment:24// CHECK-NEXT:     EntrySize:25// CHECK-NEXT:   }26