| 861 | |
| 862 | template <typename A, typename R> |
| 863 | bool UnwindCursor<A, R>::validFloatReg(int regNum) { |
| 864 | #if defined(_LIBUNWIND_TARGET_ARM) |
| 865 | if (regNum >= UNW_ARM_S0 && regNum <= UNW_ARM_S31) return true; |
| 866 | if (regNum >= UNW_ARM_D0 && regNum <= UNW_ARM_D31) return true; |
| 867 | #elif defined(_LIBUNWIND_TARGET_AARCH64) |
| 868 | if (regNum >= UNW_AARCH64_V0 && regNum <= UNW_ARM64_D31) return true; |
| 869 | #else |
| 870 | (void)regNum; |
| 871 | #endif |
| 872 | return false; |
| 873 | } |
| 874 | |
| 875 | template <typename A, typename R> |
| 876 | unw_fpreg_t UnwindCursor<A, R>::getFloatReg(int regNum) { |
no test coverage detected