brintos

brintos / llvm-project-archived public Read only

0
0
Text · 871 B · 3a5af86 Raw
28 lines · plain
1; RUN: not llvm-mc -triple arm64-apple-darwin %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s --check-prefix=DARWIN2 3; REQUIRES: aarch64-registered-target4 5	.section	__TEXT,locomotive,regular,pure_instructions6 7	.globl	_locomotive8	.p2align	29_locomotive:10	.cfi_startproc11	; An N_ALT_ENTRY symbol can be defined in the middle of a subsection, so12	; these are opted out of the .cfi_{start,end}proc nesting check.13	.alt_entry _engineer14_engineer:15	ret16 17	; It is invalid to have a non-private label between .cfi_startproc and18	; .cfi_endproc on MachO platforms.19	.section	__TEXT,__text,regular,pure_instructions20	.globl	_caboose21	.p2align	222_caboose:23; DARWIN: [[#@LINE-1]]:1: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs24; DARWIN: [[#@LINE-14]]:2: error: previous .cfi_startproc was here25	ret26	.cfi_endproc27 28.subsections_via_symbols