summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorSam Elliott <selliott@lowrisc.org>2019-12-16 16:35:17 +0000
committerSam Elliott <selliott@lowrisc.org>2019-12-16 16:36:56 +0000
commitce3d1c6d61dcd96f44492516f8b613bbcadaeb8e (patch)
tree297e688d1dee79660d1f06d9eecb12ab5e5a3952 /clang/lib/CodeGen/BackendUtil.cpp
parent055aeb5275153ee61ccd59cab2987fdcaca73756 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud