1 ; RUN
: not llvm-mc
-triple arm64-apple-darwin
%s
-filetype
=obj
-o
/dev
/null
2>&1 | FileCheck
%s
--check-prefix
=DARWIN
3 ; REQUIRES
: aarch64-registered-target
5 .section __TEXT,locomotive,regular,pure_instructions
11 ; An N_ALT_ENTRY symbol can
be defined in the middle of
a subsection
, so
12 ; these are opted out of the
.cfi_{start,end}proc nesting check.
17 ; It is invalid to have
a non-private label between
.cfi_startproc and
18 ;
.cfi_endproc on MachO platforms.
19 .section __TEXT,__text,regular,pure_instructions
23 ; DARWIN
: [[#@LINE-1]]:1: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
24 ; DARWIN
: [[#@LINE-14]]:2: error: previous .cfi_startproc was here
28 .subsections_via_symbols