mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
6530b2f3a0
We would assert that the FP setup CFI used esp/rsp always. This held up in practice when the code was generated from IR. However, with the integrated assembler, it is possible to have the input be user specified assembly. In such a case, we cannot assume that the function implementation has a compact unwind representation. Loosen the assertion into a check and bail if we cannot represent the frame pointer in the compact unwinding. Addresses PR30453! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281986 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
234 B
ArmAsm
12 lines
234 B
ArmAsm
// RUN: llvm-mc -triple x86_64-apple-macho -filetype obj -o - %s | llvm-readobj -sections | FileCheck %s
|
|
|
|
_label:
|
|
.cfi_startproc
|
|
.cfi_def_cfa_register rsp
|
|
.cfi_endproc
|
|
|
|
// CHECK: Section {
|
|
// CHECK: Name: __eh_frame
|
|
// CHECK: }
|
|
|