diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-18 23:59:12 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-18 23:59:12 +0000 |
| commit | c2f1e32365344eee43372bf1259c9d41423f87c1 (patch) | |
| tree | 1d5f8a9c7efdb645ab6a39045df12b5b66e4b271 /libunwind | |
| parent | aa654292bd9ca5a68e8b5b6d93ccd3fbee31ab1d (diff) | |
| download | bcm5719-llvm-c2f1e32365344eee43372bf1259c9d41423f87c1.tar.gz bcm5719-llvm-c2f1e32365344eee43372bf1259c9d41423f87c1.zip | |
EHABI: cover switch once more
When making WMMX support optional, we uncovered the switch. Add the missing
entries. Since the entry is a break leading to a dead path, it should get
optimized out yet retain the switch overage.
llvm-svn: 279180
Diffstat (limited to 'libunwind')
| -rw-r--r-- | libunwind/src/Unwind-EHABI.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libunwind/src/Unwind-EHABI.cpp b/libunwind/src/Unwind-EHABI.cpp index 5e464f402f6..0e9b03491b0 100644 --- a/libunwind/src/Unwind-EHABI.cpp +++ b/libunwind/src/Unwind-EHABI.cpp @@ -804,6 +804,10 @@ _Unwind_VRS_Set(_Unwind_Context *context, _Unwind_VRS_RegClass regclass, *(unw_fpreg_t *)valuep) == UNW_ESUCCESS ? _UVRSR_OK : _UVRSR_FAILED; +#else + case _UVRSC_WMMXC: + case _UVRSC_WMMXD: + break; #endif } _LIBUNWIND_ABORT("unsupported register class"); @@ -854,6 +858,10 @@ _Unwind_VRS_Get_Internal(_Unwind_Context *context, (unw_fpreg_t *)valuep) == UNW_ESUCCESS ? _UVRSR_OK : _UVRSR_FAILED; +#else + case _UVRSC_WMMXC: + case _UVRSC_WMMXD: + break; #endif } _LIBUNWIND_ABORT("unsupported register class"); |

