Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-size / X86 / format-berkeley-tabs.s
blobc3e7e1ec81f97e2d1f5d38ab1bc5c12915745c0f
1 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
2 // RUN: llvm-size -B -t %t.o | FileCheck %s --strict-whitespace
4 .text
5 .zero 4
6 .data
7 .long foo
8 .bss
9 .zero 4
11 // Note: this test enables --strict-whitespace to check for literal tabs
12 // between each field.
13 // CHECK: text {{ *}}data {{ *}}bss {{ *}}dec {{ *}}hex {{ *}}filename
14 // CHECK-NEXT: 4 {{ *}}4 {{ *}}4 {{ *}}12 {{ *}}c {{ *}}{{[ -\(\)_A-Za-z0-9.\\/:]+}}
15 // CHECK-NEXT: 4 {{ *}}4 {{ *}}4 {{ *}}12 {{ *}}c {{ *}}(TOTALS)