forked from OSchip/llvm-project
16 lines
452 B
ArmAsm
16 lines
452 B
ArmAsm
|
// RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-objdump -s -t - | FileCheck %s
|
||
|
.text
|
||
|
foo:
|
||
|
ret
|
||
|
bar:
|
||
|
ret
|
||
|
.data
|
||
|
.symidx bar
|
||
|
.symidx foo
|
||
|
|
||
|
// CHECK: Contents of section .data:
|
||
|
// CHECK-NEXT: 0000 0[[BAR:[1-9]]]000000 0[[FOO:[1-9]]]000000
|
||
|
// CHECK: SYMBOL TABLE:
|
||
|
// CHECK: [ [[FOO]]](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 0) 0x00000000 foo
|
||
|
// CHECK-NEXT: [ [[BAR]]](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 0) 0x00000001 bar
|