You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
420 B

# Test for D51695 ensuring there is no crash when two .cfi_startproc are opened
# without the first one being closed.
# RUN: not llvm-mc %s -filetype=obj -triple=x86_64-unknown-linux -o /dev/null 2>&1 | FileCheck %s
.text
.globl proc_one
proc_one:
.cfi_startproc
.text
.globl proc_two
proc_two:
.cfi_startproc
# CHECK: [[#@LINE]]:1: error: starting new .cfi frame before finishing the previous one
.cfi_endproc