27 lines · plain
1# RUN: not llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:2 3.section __TEXT,__text4.globl _foo5_foo:6 .cfi_startproc7 subq $8, %rsp8 .cfi_adjust_cfa_offset 89 subq $8, %rsp10 .cfi_adjust_cfa_offset 811 12 .alt_entry _bar13_bar: # alt_entry label can appear here as it is not an atom14 addq $8, %rsp15 .cfi_adjust_cfa_offset -816 17tmp0: # non-private label cannot appear here18 addq $8, %rsp19# CHECK: :[[#@LINE+1]]:3: error: invalid CFI advance_loc expression20 .cfi_adjust_cfa_offset -821.tmp1: # non-private label cannot appear here22 addq $8, %rsp23# CHECK: :[[#@LINE+1]]:3: error: invalid CFI advance_loc expression24 .cfi_adjust_cfa_offset -825 retq26 .cfi_endproc27