We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e86d35d commit b8fafe6Copy full SHA for b8fafe6
src/unwind/unwind_with_libunwind.cpp
@@ -29,9 +29,9 @@ namespace detail {
29
#if defined(__APPLE__) && (defined(__arm64__) || defined(__aarch64__))
30
// Apple's unw_get_reg(UNW_REG_IP) may return pointer-authenticated addresses with PAC
31
// signature bits in the upper bytes
32
- uintptr_t stripped = static_cast<uintptr_t>(pc);
+ uintptr_t stripped = pc;
33
__asm__ volatile("xpaci %0" : "+r"(stripped));
34
- pc = static_cast<unw_word_t>(stripped);
+ pc = stripped;
35
#endif
36
unw_get_reg(&cursor, UNW_REG_SP, &sp);
37
if(skip) {
0 commit comments