blob: 81627f4459c0541558162e7009dcea17748361e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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
.cfi_endproc
# CHECK: error: starting new .cfi frame before finishing the previous one
|