mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
0aa90f844e
Removes two report_fatal_errors. Implement this by removing EmitCFICommon, and do the checking in getCurrentDwarfFrameInfo. Have the callers check for null before dereferencing it. llvm-svn: 315264
19 lines
517 B
ArmAsm
19 lines
517 B
ArmAsm
# RUN: not llvm-mc %s -triple x86_64-linux -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
|
|
|
|
# FIXME: Push source locations into diagnostics.
|
|
|
|
.text
|
|
.cfi_def_cfa rsp, 8
|
|
# CHECK: error: this directive must appear between .cfi_startproc and .cfi_endproc directives
|
|
|
|
.cfi_startproc
|
|
nop
|
|
|
|
.cfi_startproc
|
|
# CHECK: error: starting new .cfi frame before finishing the previous one
|
|
nop
|
|
.cfi_endproc
|
|
|
|
.cfi_def_cfa rsp, 8
|
|
# CHECK: error: this directive must appear between .cfi_startproc and .cfi_endproc directives
|