Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / MC / ELF / file.s
blobd8ccbe6e5aee862f48b49d778d4c6d45ea468501
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // Test that the STT_FILE symbol precedes the other local symbols.
5 .file "foo"
6 foa:
7 // CHECK: # Symbol 0x00000001
8 // CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
9 // CHECK-NEXT: ('st_bind', 0x00000000)
10 // CHECK-NEXT: ('st_type', 0x00000004)
11 // CHECK-NEXT: ('st_other', 0x00000000)
12 // CHECK-NEXT: ('st_shndx', 0x0000fff1)
13 // CHECK-NEXT: ('st_value', 0x0000000000000000)
14 // CHECK-NEXT: ('st_size', 0x0000000000000000)
15 // CHECK-NEXT: ),
16 // CHECK-NEXT: # Symbol 0x00000002
17 // CHECK-NEXT: (('st_name', 0x00000005) # 'foa'
18 // CHECK-NEXT: ('st_bind', 0x00000000)
19 // CHECK-NEXT: ('st_type', 0x00000000)
20 // CHECK-NEXT: ('st_other', 0x00000000)
21 // CHECK-NEXT: ('st_shndx', 0x00000001)
22 // CHECK-NEXT: ('st_value', 0x0000000000000000)
23 // CHECK-NEXT: ('st_size', 0x0000000000000000)