Skip to content

Commit a9d9113

Browse files
committed
A somewhat gross 'lets see if this is the bot issue' change
1 parent 74de39b commit a9d9113

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

libunwind/src/Registers.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,8 +1839,10 @@ class _LIBUNWIND_HIDDEN Registers_arm64 {
18391839
public:
18401840
Registers_arm64();
18411841
Registers_arm64(const void *registers);
1842+
#if defined(_LIBUNWIND_TARGET_AARCH64_AUTHENTICATED_UNWINDING)
18421843
Registers_arm64(const Registers_arm64 &);
18431844
Registers_arm64 &operator=(const Registers_arm64 &);
1845+
#endif
18441846

18451847
typedef uint64_t reg_t;
18461848
typedef uint64_t __ptrauth_unwind_registers_arm64_link_reg link_reg_t;
@@ -1956,6 +1958,7 @@ inline Registers_arm64::Registers_arm64(const void *registers) {
19561958
#endif
19571959
}
19581960

1961+
#if defined(_LIBUNWIND_TARGET_AARCH64_AUTHENTICATED_UNWINDING)
19591962
inline Registers_arm64::Registers_arm64(const Registers_arm64 &other) {
19601963
*this = other;
19611964
}
@@ -1965,13 +1968,11 @@ Registers_arm64::operator=(const Registers_arm64 &other) {
19651968
memmove(&_registers, &other._registers, sizeof(_registers));
19661969
memmove(_vectorHalfRegisters, &other._vectorHalfRegisters,
19671970
sizeof(_vectorHalfRegisters));
1968-
#if defined(_LIBUNWIND_TARGET_AARCH64_AUTHENTICATED_UNWINDING)
19691971
// We perform this step to ensure that we correctly authenticate and re-sign
19701972
// the pc after the bitwise copy.
19711973
setIP(other.getIP());
1972-
#endif
1973-
return *this;
19741974
}
1975+
#endif
19751976

19761977
inline Registers_arm64::Registers_arm64() {
19771978
memset(&_registers, 0, sizeof(_registers));

0 commit comments

Comments
 (0)