llvm/test/MC/MachO/AArch64/darwin-ARM64-local-label-diff.s
Davide Italiano 537f16ebe4 [MC] Convert other MachO tests from macho-dump to llvm-readobj.
This commit accomplish two goals:
1) it's a step forward to deprecate macho-dump, now less than 40 tests
rely on it.

2) It tests all the MachO specific features introduced in llvm-readobj in
the following commits:  r246789, r246665, r246474.

While the conversion is mostly mechanical (I double-checked all the
tests output one by one, but still), a post-commit review is greatly
appreciated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246904 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-05 01:02:05 +00:00

29 lines
912 B
ArmAsm

; RUN: llvm-mc -triple arm64-apple-darwin -filetype=obj -o - < %s | llvm-readobj -s -sd | FileCheck %s
; rdar://13028719
.globl context_save0
.align 6
Lcontext_save0:
context_save0:
.fill 2, 8, 5
Lcontext_save0_end:
Lcontext_save0_size: .quad (Lcontext_save0_end - Lcontext_save0)
.align 6
Lcontext_save1:
.fill 2, 8, 0
Lcontext_save1_end:
Lcontext_save1_size: .quad (Lcontext_save1_end - Lcontext_save1)
Llockup_release:
.quad 0
; CHECK: SectionData (
; CHECK: 0000: 05000000 00000000 05000000 00000000 |................|
; CHECK: 0010: 10000000 00000000 1F2003D5 1F2003D5 |......... ... ..|
; CHECK: 0020: 1F2003D5 1F2003D5 1F2003D5 1F2003D5 |. ... ... ... ..|
; CHECK: 0030: 1F2003D5 1F2003D5 1F2003D5 1F2003D5 |. ... ... ... ..|
; CHECK: 0040: 00000000 00000000 00000000 00000000 |................|
; CHECK: 0050: 10000000 00000000 00000000 00000000 |................|
; CHECK: )