mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
ee2ed1e94a
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
16 lines
524 B
ArmAsm
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
|