32 lines · plain
1// TODO: Add other architectures as they gain sframe support2// REQUIRES: x86-registered-target3// RUN: llvm-mc --assemble --filetype=obj -triple x86_64 %s -o %t.o 2>&1 | FileCheck %s4// RUN: llvm-readelf --sframe %t.o | FileCheck --check-prefix=CHECK-NOFDES %s5 6 7 .cfi_sections .sframe8f1:9 .cfi_startproc simple10// CHECK: non-default RA register {{.*}}11 .cfi_return_column 012 nop13// CHECK: {{.*}} adjusting CFA offset without a base register.{{.*}}14 .cfi_def_cfa_offset 16 // no line number reported here.15 nop16// CHECK: [[@LINE+1]]:{{.*}} adjusting CFA offset without a base register.{{.*}}17 .cfi_adjust_cfa_offset 1618 nop19 .cfi_endproc20 21f2:22 .cfi_startproc23 nop24// CHECK: canonical Frame Address not in stack- or frame-pointer. {{.*}}25 .cfi_def_cfa 0, 426 nop27 28 .cfi_endproc29 30// CHECK-NOFDES: Num FDEs: 031// CHECK-NOFDES: Num FREs: 032