Skip to content

Commit d70e802

Browse files
committed
You would not believe how long it took to find this
1 parent 34555e7 commit d70e802

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libunwind/src/DwarfParser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ const char *CFI_Parser<A>::parseCIE(A &addressSpace, pint_t cie,
405405
// schema. If we could guarantee the encoding of the personality we
406406
// could avoid this by simply giving resultAddr the correct ptrauth
407407
// schema and performing an assignment.
408-
#ifdef __ARM64E__
408+
#if defined(__arm64e__)
409409
const auto oldDiscriminator = resultAddr;
410410
#else
411411
const auto oldDiscriminator = ptrauth_blend_discriminator(

libunwind/src/UnwindLevel1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) {
607607
unw_word_t result;
608608
__unw_get_reg(cursor, UNW_REG_IP, &result);
609609

610-
#if defined(__ARM64E__)
610+
#if defined(__arm64e__)
611611
// If we are in an arm64e frame, then the PC should have been signed with the
612612
// sp
613613
{

0 commit comments

Comments
 (0)