clang-format initializer to reduce noise in another patch.
[oota-llvm.git] / test / MC / AsmParser / cfi-invalid-startproc.s
1 # RUN: not llvm-mc -triple=x86_64-apple-macosx10.8 -filetype=obj -o %t %s 2>&1 | FileCheck %s
2 # Check that the cfi_startproc is declared after the beginning of
3 # a procedure, otherwise it will reference an invalid symbol for
4 # emitting the relocation.
5 # <rdar://problem/15939159>
6
7 # CHECK: No symbol to start a frame
8 .text
9 .cfi_startproc
10 .globl _someFunction
11 _someFunction:
12 .cfi_def_cfa_offset 16
13 .cfi_offset %rbp, -16
14 .cfi_def_cfa_register rbp
15   ret
16 .cfi_endproc