@@ -427,7 +427,7 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetGR(struct _Unwind_Context *context,
427
427
/// Called by personality handler during phase 2 to alter register values.
428
428
_LIBUNWIND_EXPORT void _Unwind_SetGR (struct _Unwind_Context * context , int index ,
429
429
uintptr_t new_value ) {
430
- _LIBUNWIND_TRACE_API ("_Unwind_SetGR(context=%p, reg=%d, value=0x%" PRIuPTR
430
+ _LIBUNWIND_TRACE_API ("_Unwind_SetGR(context=%p, reg=%d, value=0x%" PRIxPTR
431
431
")" ,
432
432
(void * )context , index , new_value );
433
433
_Unwind_FunctionContext_t ufc = (_Unwind_FunctionContext_t ) context ;
@@ -438,7 +438,7 @@ _LIBUNWIND_EXPORT void _Unwind_SetGR(struct _Unwind_Context *context, int index,
438
438
/// Called by personality handler during phase 2 to get instruction pointer.
439
439
_LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP (struct _Unwind_Context * context ) {
440
440
_Unwind_FunctionContext_t ufc = (_Unwind_FunctionContext_t ) context ;
441
- _LIBUNWIND_TRACE_API ("_Unwind_GetIP(context=%p) => 0x%" PRIu32 ,
441
+ _LIBUNWIND_TRACE_API ("_Unwind_GetIP(context=%p) => 0x%" PRIxPTR ,
442
442
(void * )context , ufc -> resumeLocation + 1 );
443
443
return ufc -> resumeLocation + 1 ;
444
444
}
@@ -451,7 +451,7 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIPInfo(struct _Unwind_Context *context,
451
451
int * ipBefore ) {
452
452
_Unwind_FunctionContext_t ufc = (_Unwind_FunctionContext_t ) context ;
453
453
* ipBefore = 0 ;
454
- _LIBUNWIND_TRACE_API ("_Unwind_GetIPInfo(context=%p, %p) => 0x%" PRIu32 ,
454
+ _LIBUNWIND_TRACE_API ("_Unwind_GetIPInfo(context=%p, %p) => 0x%" PRIxPTR ,
455
455
(void * )context , (void * )ipBefore ,
456
456
ufc -> resumeLocation + 1 );
457
457
return ufc -> resumeLocation + 1 ;
@@ -461,7 +461,7 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIPInfo(struct _Unwind_Context *context,
461
461
/// Called by personality handler during phase 2 to alter instruction pointer.
462
462
_LIBUNWIND_EXPORT void _Unwind_SetIP (struct _Unwind_Context * context ,
463
463
uintptr_t new_value ) {
464
- _LIBUNWIND_TRACE_API ("_Unwind_SetIP(context=%p, value=0x%" PRIuPTR ")" ,
464
+ _LIBUNWIND_TRACE_API ("_Unwind_SetIP(context=%p, value=0x%" PRIxPTR ")" ,
465
465
(void * )context , new_value );
466
466
_Unwind_FunctionContext_t ufc = (_Unwind_FunctionContext_t ) context ;
467
467
ufc -> resumeLocation = new_value - 1 ;
0 commit comments