xref: /llvm-project/llvm/test/MC/PowerPC/aix-file-symbols-empty.s (revision ac5d5351d42ab74cfc47964aa0ca94655cf7e7c7)
1## Emit ".file" as the source file name when there is no file name.
2# RUN: llvm-mc -triple powerpc-ibm-aix-xcoff %s -filetype=obj -o - | \
3# RUN:    llvm-objdump --syms - | FileCheck %s
4
5      .globl .var1
6.var1:
7      .globl .var2
8.var2:
9
10# CHECK:      SYMBOL TABLE:
11# CHECK-NEXT: 00000000      df *DEBUG*	00000000 .file
12# CHECK-NEXT: 00000000 l       .text	00000000
13# CHECK-NEXT: 00000000 g     F .text (csect: ) 	00000000 .var1
14# CHECK-NEXT: 00000000 g     F .text (csect: ) 	00000000 .var2
15