[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / cfi-scope-errors2.s
blobd29c05636d0df31fac38aed1f728587280f9fa1e
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 .cfi_startproc
9 .text
10 .cfi_startproc
11 # CHECK: [[#@LINE]]:1: error: starting new .cfi frame before finishing the previous one
13 .cfi_endproc