Formatting fixes.
We should clang-format the whole thing when we finally move the unwinder to its new home. llvm-svn: 228360
This commit is contained in:
parent
d88e51ced7
commit
b98c20cf7c
|
|
@ -152,7 +152,7 @@ _Unwind_Reason_Code ProcessDescriptors(
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
_LIBUNWIND_ABORT("Invalid descriptor kind found.");
|
_LIBUNWIND_ABORT("Invalid descriptor kind found.");
|
||||||
};
|
}
|
||||||
|
|
||||||
getNextWord(descriptor, &descriptorWord);
|
getNextWord(descriptor, &descriptorWord);
|
||||||
}
|
}
|
||||||
|
|
@ -948,7 +948,7 @@ _Unwind_VRS_Result _Unwind_VRS_Pop(
|
||||||
return _Unwind_VRS_Set(context, _UVRSC_CORE, UNW_ARM_SP, _UVRSD_UINT32,
|
return _Unwind_VRS_Set(context, _UVRSC_CORE, UNW_ARM_SP, _UVRSD_UINT32,
|
||||||
&sp);
|
&sp);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Called by personality handler during phase 2 to find the start of the
|
/// Called by personality handler during phase 2 to find the start of the
|
||||||
|
|
|
||||||
|
|
@ -260,10 +260,8 @@ __cxa_get_exception_ptr(void* unwind_exception) throw()
|
||||||
return reinterpret_cast<void*>(
|
return reinterpret_cast<void*>(
|
||||||
static_cast<_Unwind_Control_Block*>(unwind_exception)->barrier_cache.bitpattern[0]);
|
static_cast<_Unwind_Control_Block*>(unwind_exception)->barrier_cache.bitpattern[0]);
|
||||||
#else
|
#else
|
||||||
return cxa_exception_from_exception_unwind_exception
|
return cxa_exception_from_exception_unwind_exception(
|
||||||
(
|
static_cast<_Unwind_Exception*>(unwind_exception))->adjustedPtr;
|
||||||
static_cast<_Unwind_Exception*>(unwind_exception)
|
|
||||||
)->adjustedPtr;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue