[NFC][libc++abi] Convert stray tabs to spaces
llvm-svn: 373524
This commit is contained in:
parent
5ac9d18e7d
commit
c5d2746fbe
|
|
@ -80,7 +80,7 @@ size_t cxa_exception_size_from_exception_thrown_size(size_t size) {
|
||||||
|
|
||||||
void __setExceptionClass(_Unwind_Exception* unwind_exception, uint64_t newValue) {
|
void __setExceptionClass(_Unwind_Exception* unwind_exception, uint64_t newValue) {
|
||||||
::memcpy(&unwind_exception->exception_class, &newValue, sizeof(newValue));
|
::memcpy(&unwind_exception->exception_class, &newValue, sizeof(newValue));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void setOurExceptionClass(_Unwind_Exception* unwind_exception) {
|
static void setOurExceptionClass(_Unwind_Exception* unwind_exception) {
|
||||||
|
|
@ -93,10 +93,10 @@ static void setDependentExceptionClass(_Unwind_Exception* unwind_exception) {
|
||||||
|
|
||||||
// Is it one of ours?
|
// Is it one of ours?
|
||||||
uint64_t __getExceptionClass(const _Unwind_Exception* unwind_exception) {
|
uint64_t __getExceptionClass(const _Unwind_Exception* unwind_exception) {
|
||||||
// On x86 and some ARM unwinders, unwind_exception->exception_class is
|
// On x86 and some ARM unwinders, unwind_exception->exception_class is
|
||||||
// a uint64_t. On other ARM unwinders, it is a char[8]
|
// a uint64_t. On other ARM unwinders, it is a char[8].
|
||||||
// See: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038b/IHI0038B_ehabi.pdf
|
// See: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038b/IHI0038B_ehabi.pdf
|
||||||
// So we just copy it into a uint64_t to be sure.
|
// So we just copy it into a uint64_t to be sure.
|
||||||
uint64_t exClass;
|
uint64_t exClass;
|
||||||
::memcpy(&exClass, &unwind_exception->exception_class, sizeof(exClass));
|
::memcpy(&exClass, &unwind_exception->exception_class, sizeof(exClass));
|
||||||
return exClass;
|
return exClass;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue