Skip to content

Commit 74de39b

Browse files
committed
formatting corrections
1 parent 0f2679a commit 74de39b

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

libunwind/src/DwarfInstructions.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ int DwarfInstructions<A, R>::stepWithDwarf(A &addressSpace,
302302

303303
isSignalFrame = cieInfo.isSignalFrame;
304304

305-
#if defined(_LIBUNWIND_TARGET_AARCH64) && \
305+
#if defined(_LIBUNWIND_TARGET_AARCH64) && \
306306
!defined(_LIBUNWIND_TARGET_AARCH64_AUTHENTICATED_UNWINDING)
307307
// There are two ways of return address signing: pac-ret (enabled via
308308
// -mbranch-protection=pac-ret) and ptrauth-returns (enabled as part of

libunwind/src/Registers.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ inline Registers_arm64::Registers_arm64(const void *registers) {
19511951
// performed by setIP.
19521952
uint64_t pcRegister = 0;
19531953
memmove(&pcRegister, ((uint8_t *)&_registers) + offsetof(GPRs, __pc),
1954-
sizeof(pcRegister));
1954+
sizeof(pcRegister));
19551955
setIP(pcRegister);
19561956
#endif
19571957
}

libunwind/src/UnwindCursor.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2010,8 +2010,7 @@ bool UnwindCursor<A, R>::getInfoFromCompactEncodingSection(
20102010
// re-signed the pointer, and assigning directly will attempt to incorrectly
20112011
// sign the already signed value.
20122012
memmove(reinterpret_cast<void *>(&_info.handler),
2013-
reinterpret_cast<void *>(&personality),
2014-
sizeof(personality));
2013+
reinterpret_cast<void *>(&personality), sizeof(personality));
20152014
_info.gp = 0;
20162015
_info.flags = 0;
20172016
_info.format = encoding;

libunwind/src/UnwindLevel1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static _Unwind_Personality_Fn get_handler_function(unw_proc_info_t *frameInfo) {
103103
reauthenticatedIntegerHandler = frameInfo->handler;
104104
_Unwind_Personality_Fn handler;
105105
memmove(&handler, (void *)&reauthenticatedIntegerHandler,
106-
sizeof(_Unwind_Personality_Fn));
106+
sizeof(_Unwind_Personality_Fn));
107107
return handler;
108108
}
109109

0 commit comments

Comments
 (0)