1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/MC/ELF/cfi-scope-errors2.s
Fangrui Song 8d7b297d85 [MC][test] Reorganize .cfi_* tests
Delete tests which are covered by others.
2020-12-21 17:18:28 -08:00

14 lines
366 B
ArmAsm

# 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
.cfi_startproc
.text
.cfi_startproc
# CHECK: [[#@LINE]]:1: error: starting new .cfi frame before finishing the previous one
.cfi_endproc