1// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux 2// RUN: llvm-size -A %t.o | FileCheck --check-prefix="SYSV" %s 3// RUN: llvm-size -B %t.o| FileCheck --check-prefix="BSD" %s 4 5 .text 6 .zero 4 7 .data 8 .long foo 9 .bss 10 .zero 4 11 .ident "foo" 12 .section foo 13 .long 42 14 .cfi_startproc 15 .cfi_endproc 16 17// SYSV: {{[ -\(\)_A-Za-z0-9.\\/:]+}} : 18// SYSV-NEXT: section size addr 19// SYSV-NEXT: .text 4 0 20// SYSV-NEXT: .data 4 0 21// SYSV-NEXT: .bss 4 0 22// SYSV-NEXT: .comment 5 0 23// SYSV-NEXT: foo 4 0 24// SYSV-NEXT: .eh_frame 48 0 25// SYSV-NEXT: Total 69 26 27// BSD: text data bss dec hex filename 28// BSD-NEXT: 4 4 4 12 c {{[ -\(\)_A-Za-z0-9.\\/:]+}} 29