1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/MC/AArch64/arm64_32-compact-unwind.s
Daniel Sanders ee2ed1e94a [objdump][macho] Emit segment names along with section names
I recently came across a MachO with multiple sections of the same name but
different segments. We should emit the segment name alongside the section name
for MachO's.

Differential Revision: https://reviews.llvm.org/D87119
2020-09-04 09:57:02 -07:00

16 lines
524 B
ArmAsm

; RUN: llvm-mc -triple=arm64_32-ios7.0 -filetype=obj %s -o %t
; RUN: llvm-objdump -s %t | FileCheck %s
; The compact unwind format in ILP32 mode is pretty much the same, except
; references to addresses (function, personality, LSDA) are pointer-sized.
; CHECK: Contents of section __LD,__compact_unwind:
; CHECK-NEXT: 0004 00000000 04000000 00000002 00000000
; CHECK-NEXT: 0014 00000000
.globl _test_compact_unwind
.align 2
_test_compact_unwind:
.cfi_startproc
ret
.cfi_endproc