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:
Dan Albert 2015-02-05 23:48:06 +00:00
parent d88e51ced7
commit b98c20cf7c
3 changed files with 33 additions and 35 deletions

View File

@ -152,7 +152,7 @@ _Unwind_Reason_Code ProcessDescriptors(
}
default:
_LIBUNWIND_ABORT("Invalid descriptor kind found.");
};
}
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,
&sp);
}
};
}
}
/// Called by personality handler during phase 2 to find the start of the

View File

@ -260,10 +260,8 @@ __cxa_get_exception_ptr(void* unwind_exception) throw()
return reinterpret_cast<void*>(
static_cast<_Unwind_Control_Block*>(unwind_exception)->barrier_cache.bitpattern[0]);
#else
return cxa_exception_from_exception_unwind_exception
(
static_cast<_Unwind_Exception*>(unwind_exception)
)->adjustedPtr;
return cxa_exception_from_exception_unwind_exception(
static_cast<_Unwind_Exception*>(unwind_exception))->adjustedPtr;
#endif
}