summaryrefslogtreecommitdiff
path: root/llvm/test/MC/PowerPC/aix-file-symbols-empty.s
blob: 77dbbb94bc3e5da6c05965b4611ef2dda5b87fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
## Emit ".file" as the source file name when there is no file name.
# RUN: llvm-mc -triple powerpc-ibm-aix-xcoff %s -filetype=obj -o - | \
# RUN:    llvm-objdump --syms - | FileCheck %s

      .globl .var1
.var1:
      .globl .var2
.var2:

# CHECK:      SYMBOL TABLE:
# CHECK-NEXT: 00000000      df *DEBUG*	00000000 .file
# CHECK-NEXT: 00000000 l       .text	00000000 .text
# CHECK-NEXT: 00000000 g     F .text (csect: .text) 	00000000 .var1
# CHECK-NEXT: 00000000 g     F .text (csect: .text) 	00000000 .var2