@@ -79,8 +79,8 @@ size_t cxa_exception_size_from_exception_thrown_size(size_t size) {
79
79
}
80
80
81
81
void __setExceptionClass (_Unwind_Exception* unwind_exception, uint64_t newValue) {
82
- ::memcpy (&unwind_exception->exception_class, &newValue, sizeof (newValue));
83
- }
82
+ ::memcpy (&unwind_exception->exception_class, &newValue, sizeof (newValue));
83
+ }
84
84
85
85
86
86
static void setOurExceptionClass (_Unwind_Exception* unwind_exception) {
@@ -93,13 +93,13 @@ static void setDependentExceptionClass(_Unwind_Exception* unwind_exception) {
93
93
94
94
// Is it one of ours?
95
95
uint64_t __getExceptionClass (const _Unwind_Exception* unwind_exception) {
96
- // On x86 and some ARM unwinders, unwind_exception->exception_class is
97
- // a uint64_t. On other ARM unwinders, it is a char[8]
98
- // See: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038b/IHI0038B_ehabi.pdf
99
- // So we just copy it into a uint64_t to be sure.
100
- uint64_t exClass;
101
- ::memcpy (&exClass, &unwind_exception->exception_class, sizeof (exClass));
102
- return exClass;
96
+ // On x86 and some ARM unwinders, unwind_exception->exception_class is
97
+ // a uint64_t. On other ARM unwinders, it is a char[8].
98
+ // See: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038b/IHI0038B_ehabi.pdf
99
+ // So we just copy it into a uint64_t to be sure.
100
+ uint64_t exClass;
101
+ ::memcpy (&exClass, &unwind_exception->exception_class, sizeof (exClass));
102
+ return exClass;
103
103
}
104
104
105
105
bool __isOurExceptionClass (const _Unwind_Exception* unwind_exception) {
0 commit comments