@@ -84,13 +84,13 @@ unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
84
84
int stepResult = __unw_step (cursor );
85
85
if (stepResult == 0 ) {
86
86
_LIBUNWIND_TRACE_UNWINDING (
87
- "unwind_phase1(ex_ojb =%p): __unw_step() reached "
87
+ "unwind_phase1(ex_obj =%p): __unw_step() reached "
88
88
"bottom => _URC_END_OF_STACK" ,
89
89
(void * )exception_object );
90
90
return _URC_END_OF_STACK ;
91
91
} else if (stepResult < 0 ) {
92
92
_LIBUNWIND_TRACE_UNWINDING (
93
- "unwind_phase1(ex_ojb =%p): __unw_step failed => "
93
+ "unwind_phase1(ex_obj =%p): __unw_step failed => "
94
94
"_URC_FATAL_PHASE1_ERROR" ,
95
95
(void * )exception_object );
96
96
return _URC_FATAL_PHASE1_ERROR ;
@@ -101,7 +101,7 @@ unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
101
101
unw_word_t sp ;
102
102
if (__unw_get_proc_info (cursor , & frameInfo ) != UNW_ESUCCESS ) {
103
103
_LIBUNWIND_TRACE_UNWINDING (
104
- "unwind_phase1(ex_ojb =%p): __unw_get_proc_info "
104
+ "unwind_phase1(ex_obj =%p): __unw_get_proc_info "
105
105
"failed => _URC_FATAL_PHASE1_ERROR" ,
106
106
(void * )exception_object );
107
107
return _URC_FATAL_PHASE1_ERROR ;
@@ -120,7 +120,7 @@ unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
120
120
unw_word_t pc ;
121
121
__unw_get_reg (cursor , UNW_REG_IP , & pc );
122
122
_LIBUNWIND_TRACE_UNWINDING (
123
- "unwind_phase1(ex_ojb =%p): pc=0x%" PRIxPTR ", start_ip=0x%" PRIxPTR
123
+ "unwind_phase1(ex_obj =%p): pc=0x%" PRIxPTR ", start_ip=0x%" PRIxPTR
124
124
", func=%s, lsda=0x%" PRIxPTR ", personality=0x%" PRIxPTR "" ,
125
125
(void * )exception_object , pc , frameInfo .start_ip , functionName ,
126
126
frameInfo .lsda , frameInfo .handler );
@@ -133,7 +133,7 @@ unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
133
133
_Unwind_Personality_Fn p =
134
134
(_Unwind_Personality_Fn )(uintptr_t )(frameInfo .handler );
135
135
_LIBUNWIND_TRACE_UNWINDING (
136
- "unwind_phase1(ex_ojb =%p): calling personality function %p" ,
136
+ "unwind_phase1(ex_obj =%p): calling personality function %p" ,
137
137
(void * )exception_object , (void * )(uintptr_t )p );
138
138
_Unwind_Reason_Code personalityResult =
139
139
(* p )(1 , _UA_SEARCH_PHASE , exception_object -> exception_class ,
@@ -145,21 +145,21 @@ unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
145
145
__unw_get_reg (cursor , UNW_REG_SP , & sp );
146
146
exception_object -> private_2 = (uintptr_t )sp ;
147
147
_LIBUNWIND_TRACE_UNWINDING (
148
- "unwind_phase1(ex_ojb =%p): _URC_HANDLER_FOUND" ,
148
+ "unwind_phase1(ex_obj =%p): _URC_HANDLER_FOUND" ,
149
149
(void * )exception_object );
150
150
return _URC_NO_REASON ;
151
151
152
152
case _URC_CONTINUE_UNWIND :
153
153
_LIBUNWIND_TRACE_UNWINDING (
154
- "unwind_phase1(ex_ojb =%p): _URC_CONTINUE_UNWIND" ,
154
+ "unwind_phase1(ex_obj =%p): _URC_CONTINUE_UNWIND" ,
155
155
(void * )exception_object );
156
156
// continue unwinding
157
157
break ;
158
158
159
159
default :
160
160
// something went wrong
161
161
_LIBUNWIND_TRACE_UNWINDING (
162
- "unwind_phase1(ex_ojb =%p): _URC_FATAL_PHASE1_ERROR" ,
162
+ "unwind_phase1(ex_obj =%p): _URC_FATAL_PHASE1_ERROR" ,
163
163
(void * )exception_object );
164
164
return _URC_FATAL_PHASE1_ERROR ;
165
165
}
@@ -173,7 +173,7 @@ static _Unwind_Reason_Code
173
173
unwind_phase2 (unw_context_t * uc , unw_cursor_t * cursor , _Unwind_Exception * exception_object ) {
174
174
__unw_init_local (cursor , uc );
175
175
176
- _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2(ex_ojb =%p)" ,
176
+ _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2(ex_obj =%p)" ,
177
177
(void * )exception_object );
178
178
179
179
// uc is initialized by __unw_getcontext in the parent frame. The first stack
@@ -190,13 +190,13 @@ unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
190
190
int stepResult = __unw_step_stage2 (cursor );
191
191
if (stepResult == 0 ) {
192
192
_LIBUNWIND_TRACE_UNWINDING (
193
- "unwind_phase2(ex_ojb =%p): __unw_step_stage2() reached "
193
+ "unwind_phase2(ex_obj =%p): __unw_step_stage2() reached "
194
194
"bottom => _URC_END_OF_STACK" ,
195
195
(void * )exception_object );
196
196
return _URC_END_OF_STACK ;
197
197
} else if (stepResult < 0 ) {
198
198
_LIBUNWIND_TRACE_UNWINDING (
199
- "unwind_phase2(ex_ojb =%p): __unw_step_stage2 failed => "
199
+ "unwind_phase2(ex_obj =%p): __unw_step_stage2 failed => "
200
200
"_URC_FATAL_PHASE1_ERROR" ,
201
201
(void * )exception_object );
202
202
return _URC_FATAL_PHASE2_ERROR ;
@@ -208,7 +208,7 @@ unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
208
208
__unw_get_reg (cursor , UNW_REG_SP , & sp );
209
209
if (__unw_get_proc_info (cursor , & frameInfo ) != UNW_ESUCCESS ) {
210
210
_LIBUNWIND_TRACE_UNWINDING (
211
- "unwind_phase2(ex_ojb =%p): __unw_get_proc_info "
211
+ "unwind_phase2(ex_obj =%p): __unw_get_proc_info "
212
212
"failed => _URC_FATAL_PHASE1_ERROR" ,
213
213
(void * )exception_object );
214
214
return _URC_FATAL_PHASE2_ERROR ;
@@ -224,7 +224,7 @@ unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
224
224
& offset ) != UNW_ESUCCESS ) ||
225
225
(frameInfo .start_ip + offset > frameInfo .end_ip ))
226
226
functionName = ".anonymous." ;
227
- _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2(ex_ojb =%p): start_ip=0x%" PRIxPTR
227
+ _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2(ex_obj =%p): start_ip=0x%" PRIxPTR
228
228
", func=%s, sp=0x%" PRIxPTR ", lsda=0x%" PRIxPTR
229
229
", personality=0x%" PRIxPTR ,
230
230
(void * )exception_object , frameInfo .start_ip ,
@@ -264,7 +264,7 @@ unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
264
264
case _URC_CONTINUE_UNWIND :
265
265
// Continue unwinding
266
266
_LIBUNWIND_TRACE_UNWINDING (
267
- "unwind_phase2(ex_ojb =%p): _URC_CONTINUE_UNWIND" ,
267
+ "unwind_phase2(ex_obj =%p): _URC_CONTINUE_UNWIND" ,
268
268
(void * )exception_object );
269
269
if (sp == exception_object -> private_2 ) {
270
270
// Phase 1 said we would stop at this frame, but we did not...
@@ -274,15 +274,15 @@ unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
274
274
break ;
275
275
case _URC_INSTALL_CONTEXT :
276
276
_LIBUNWIND_TRACE_UNWINDING (
277
- "unwind_phase2(ex_ojb =%p): _URC_INSTALL_CONTEXT" ,
277
+ "unwind_phase2(ex_obj =%p): _URC_INSTALL_CONTEXT" ,
278
278
(void * )exception_object );
279
279
// Personality routine says to transfer control to landing pad.
280
280
// We may get control back if landing pad calls _Unwind_Resume().
281
281
if (_LIBUNWIND_TRACING_UNWINDING ) {
282
282
unw_word_t pc ;
283
283
__unw_get_reg (cursor , UNW_REG_IP , & pc );
284
284
__unw_get_reg (cursor , UNW_REG_SP , & sp );
285
- _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2(ex_ojb =%p): re-entering "
285
+ _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2(ex_obj =%p): re-entering "
286
286
"user code with ip=0x%" PRIxPTR
287
287
", sp=0x%" PRIxPTR ,
288
288
(void * )exception_object , pc , sp );
@@ -321,7 +321,7 @@ unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
321
321
unw_proc_info_t frameInfo ;
322
322
if (__unw_get_proc_info (cursor , & frameInfo ) != UNW_ESUCCESS ) {
323
323
_LIBUNWIND_TRACE_UNWINDING (
324
- "unwind_phase2_forced(ex_ojb =%p): __unw_step_stage2 "
324
+ "unwind_phase2_forced(ex_obj =%p): __unw_step_stage2 "
325
325
"failed => _URC_END_OF_STACK" ,
326
326
(void * )exception_object );
327
327
return _URC_FATAL_PHASE2_ERROR ;
@@ -338,7 +338,7 @@ unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
338
338
(frameInfo .start_ip + offset > frameInfo .end_ip ))
339
339
functionName = ".anonymous." ;
340
340
_LIBUNWIND_TRACE_UNWINDING (
341
- "unwind_phase2_forced(ex_ojb =%p): start_ip=0x%" PRIxPTR
341
+ "unwind_phase2_forced(ex_obj =%p): start_ip=0x%" PRIxPTR
342
342
", func=%s, lsda=0x%" PRIxPTR ", personality=0x%" PRIxPTR ,
343
343
(void * )exception_object , frameInfo .start_ip , functionName ,
344
344
frameInfo .lsda , frameInfo .handler );
@@ -352,11 +352,11 @@ unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
352
352
(* stop )(1 , action , exception_object -> exception_class , exception_object ,
353
353
(struct _Unwind_Context * )(cursor ), stop_parameter );
354
354
_LIBUNWIND_TRACE_UNWINDING (
355
- "unwind_phase2_forced(ex_ojb =%p): stop function returned %d" ,
355
+ "unwind_phase2_forced(ex_obj =%p): stop function returned %d" ,
356
356
(void * )exception_object , stopResult );
357
357
if (stopResult != _URC_NO_REASON ) {
358
358
_LIBUNWIND_TRACE_UNWINDING (
359
- "unwind_phase2_forced(ex_ojb =%p): stopped by stop function" ,
359
+ "unwind_phase2_forced(ex_obj =%p): stopped by stop function" ,
360
360
(void * )exception_object );
361
361
return _URC_FATAL_PHASE2_ERROR ;
362
362
}
@@ -367,21 +367,21 @@ unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
367
367
_Unwind_Personality_Fn p =
368
368
(_Unwind_Personality_Fn )(intptr_t )(frameInfo .handler );
369
369
_LIBUNWIND_TRACE_UNWINDING (
370
- "unwind_phase2_forced(ex_ojb =%p): calling personality function %p" ,
370
+ "unwind_phase2_forced(ex_obj =%p): calling personality function %p" ,
371
371
(void * )exception_object , (void * )(uintptr_t )p );
372
372
_Unwind_Reason_Code personalityResult =
373
373
(* p )(1 , action , exception_object -> exception_class , exception_object ,
374
374
(struct _Unwind_Context * )(cursor ));
375
375
switch (personalityResult ) {
376
376
case _URC_CONTINUE_UNWIND :
377
- _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2_forced(ex_ojb =%p): "
377
+ _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2_forced(ex_obj =%p): "
378
378
"personality returned "
379
379
"_URC_CONTINUE_UNWIND" ,
380
380
(void * )exception_object );
381
381
// Destructors called, continue unwinding
382
382
break ;
383
383
case _URC_INSTALL_CONTEXT :
384
- _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2_forced(ex_ojb =%p): "
384
+ _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2_forced(ex_obj =%p): "
385
385
"personality returned "
386
386
"_URC_INSTALL_CONTEXT" ,
387
387
(void * )exception_object );
@@ -390,7 +390,7 @@ unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
390
390
break ;
391
391
default :
392
392
// Personality routine returned an unknown result code.
393
- _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2_forced(ex_ojb =%p): "
393
+ _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2_forced(ex_obj =%p): "
394
394
"personality returned %d, "
395
395
"_URC_FATAL_PHASE2_ERROR" ,
396
396
(void * )exception_object , personalityResult );
@@ -401,7 +401,7 @@ unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
401
401
402
402
// Call stop function one last time and tell it we've reached the end
403
403
// of the stack.
404
- _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2_forced(ex_ojb =%p): calling stop "
404
+ _LIBUNWIND_TRACE_UNWINDING ("unwind_phase2_forced(ex_obj =%p): calling stop "
405
405
"function with _UA_END_OF_STACK" ,
406
406
(void * )exception_object );
407
407
_Unwind_Action lastAction =
0 commit comments