mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
f0f8609e1a
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! llvm-svn: 281986
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: }
|
|
|