diff options
author | Sam Elliott <selliott@lowrisc.org> | 2019-12-16 16:35:17 +0000 |
---|---|---|
committer | Sam Elliott <selliott@lowrisc.org> | 2019-12-16 16:36:56 +0000 |
commit | ce3d1c6d61dcd96f44492516f8b613bbcadaeb8e (patch) | |
tree | 297e688d1dee79660d1f06d9eecb12ab5e5a3952 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 055aeb5275153ee61ccd59cab2987fdcaca73756 (diff) | |
download | bcm5719-llvm-ce3d1c6d61dcd96f44492516f8b613bbcadaeb8e.tar.gz bcm5719-llvm-ce3d1c6d61dcd96f44492516f8b613bbcadaeb8e.zip |
[libunwind][RISCV] Add 64-bit RISC-V support
Summary:
Add unwinding support for 64-bit RISC-V.
This is from the FreeBSD implementation with the following minor
changes:
- Renamed and renumbered DWARF registers to match the RISC-V ABI [1]
- Use the ABI mneumonics in getRegisterName() instead of the exact
register names
- Include checks for __riscv_xlen == 64 to facilitate adding the 32-bit
ABI in the future.
[1] https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md
Patch by Mitchell Horne (mhorne)
Reviewers: lenary, luismarques, compnerd, phosek
Reviewed By: lenary, luismarques
Subscribers: arichardson, sameer.abuasal, abidh, asb, aprantl, krytarowski, simoncook, kito-cheng, christof, shiva0217, rogfer01, rkruppe, PkmX, psnobl, benna, lenary, s.egerton, luismarques, emaste, cfe-commits
Differential Revision: https://reviews.llvm.org/D68362
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions