aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorSergey Kachkov <sergey.kachkov@syntacore.com>2022-10-19 18:12:33 +0300
committerSergey Kachkov <sergey.kachkov@syntacore.com>2022-12-06 12:45:59 +0300
commit132dc442ba3c137c9b3595a76a3214c96c59d884 (patch)
treeffe65ee82ac6d52c6a7ec8adf2b01a8dbf3bad78 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent7e31d0723dbf8ab9355cb58cfc6309be51be3e25 (diff)
downloadllvm-132dc442ba3c137c9b3595a76a3214c96c59d884.zip
llvm-132dc442ba3c137c9b3595a76a3214c96c59d884.tar.gz
llvm-132dc442ba3c137c9b3595a76a3214c96c59d884.tar.bz2
[RISCV] Generate .cfi_def_cfa_expression for RVV stack adjustment
Cannonical frame address after RVV stack adjustment is sp + StackSize + RVVStackSize * vlenb, and since vlenb is unknown at compile-time (but it is a constant for particular HW implementation), emit .cfi_def_cfa_expression so libunwind can read VLENB CSR register at run-time and obtain correct frame address. Fixes https://github.com/llvm/llvm-project/issues/58356 (but additional run-time support for reading CSR may be required) Differential Revision: https://reviews.llvm.org/D136263
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions