[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / cfi-open-within-another-crash.s
blob81627f4459c0541558162e7009dcea17748361e0
1 # Test for D51695 ensuring there is no crash when two .cfi_startproc are opened
2 # without the first one being closed.
4 # RUN: not llvm-mc %s -filetype=obj -triple=x86_64-unknown-linux -o /dev/null 2>&1 | FileCheck %s
6 .text
7 .globl proc_one
8 proc_one:
9 .cfi_startproc
11 .text
12 .globl proc_two
13 proc_two:
14 .cfi_startproc
16 .cfi_endproc
18 # CHECK: error: starting new .cfi frame before finishing the previous one