[PATCH] D11895: [libunwind] Add OpenRISC 1000 support
Anton Korobeynikov via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 29 12:44:45 PDT 2015
asl added inline comments.
================
Comment at: src/Registers.hpp:1779
@@ +1778,3 @@
+ return _registers.__r[0];
+ case UNW_OR1K_R1:
+ return _registers.__r[1];
----------------
Maybe we can rely on the fact that UNW_OR1K_R0 is 1, and therefore instead of switch do the range check on regNum and return _registers.__r[regNum] ?
http://reviews.llvm.org/D11895
More information about the llvm-commits
mailing list