xref: /llvm-project-15.0.7/llvm/test/MC/ELF/cfi-scope-errors2.s (revision 8c85aae6)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Test for D51695 ensuring there is no crash when two .cfi_startproc are opened
2# without the first one being closed.
3
4# RUN: not llvm-mc %s -filetype=obj -triple=x86_64-unknown-linux -o /dev/null 2>&1 | FileCheck %s
5
6.text
7 .cfi_startproc
8
9.text
10 .cfi_startproc
11# CHECK: [[#@LINE]]:1: error: starting new .cfi frame before finishing the previous one
12
13 .cfi_endproc
14

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026