summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-size/X86/format-berkeley-tabs.s
blob: c3e7e1ec81f97e2d1f5d38ab1bc5c12915745c0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
// RUN: llvm-size -B -t %t.o | FileCheck %s --strict-whitespace

        .text
        .zero 4
        .data
        .long foo
        .bss
        .zero 4

// Note: this test enables --strict-whitespace to check for literal tabs
// between each field.
// CHECK:      text	{{ *}}data	{{ *}}bss	{{ *}}dec	{{ *}}hex	{{ *}}filename
// CHECK-NEXT: 4	{{ *}}4	{{ *}}4	{{ *}}12	{{ *}}c	{{ *}}{{[ -\(\)_A-Za-z0-9.\\/:]+}}
// CHECK-NEXT: 4	{{ *}}4	{{ *}}4	{{ *}}12	{{ *}}c	{{ *}}(TOTALS)
OpenPOWER on IntegriCloud