llvm-for-llvmta/test/MC/MSP430/refsym.s

15 lines
383 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc -filetype=obj -triple=msp430 %s | llvm-readobj --symbols - | FileCheck %s
foo:
.refsym __hook
; CHECK: Symbol {
; CHECK: Name: __hook (30)
; CHECK-NEXT: Value: 0x0
; CHECK-NEXT: Size: 0
; CHECK-NEXT: Binding: Global (0x1)
; CHECK-NEXT: Type: None (0x0)
; CHECK-NEXT: Other: 0
; CHECK-NEXT: Section: Undefined (0x0)
; CHECK-NEXT: }