brintos

brintos / llvm-project-archived public Read only

0
0
Text · 896 B · ec70027 Raw
20 lines · plain
1Test that unwind plans use the frame pointer register correctly.2 3REQUIRES: arm4 5RUN: mkdir -p %t.dir6RUN: yaml2obj %S/Inputs/arm-fp-unwind.exe.yaml -o %t.dir/arm-fp-unwind.exe7RUN: yaml2obj %S/Inputs/arm-fp-unwind.dmp.yaml -o %t.dir/arm-fp-unwind.dmp8RUN: %lldb -O "settings set target.exec-search-paths %t.dir" \9RUN:   -c %t.dir/arm-fp-unwind.dmp -o "image show-unwind -a 0x00c71010" -b \10RUN:   | FileCheck %s11 12CHECK: Assembly language inspection UnwindPlan:13CHECK-NEXT: This UnwindPlan originally sourced from EmulateInstructionARM14CHECK-NEXT: This UnwindPlan is sourced from the compiler: no.15CHECK-NEXT: This UnwindPlan is valid at all instruction locations: yes.16CHECK-NEXT: This UnwindPlan is for a trap handler function: no.17CHECK-NEXT: row[0]:    0: CFA=sp +0 =>18CHECK-NEXT: row[1]:    4: CFA=sp +8 => fp=[CFA-8] lr=[CFA-4]19CHECK-NEXT: row[2]:    6: CFA=fp +8 => fp=[CFA-8] lr=[CFA-4]20