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 fcb046b commit 77e8739Copy full SHA for 77e8739
1 file changed
common/server/crash-dump.cpp
@@ -64,8 +64,6 @@ static inline void crash_dump_write_uint64(uint64_t value, crash_dump_buffer_t*
64
void crash_dump_prepare_registers([[maybe_unused]] crash_dump_buffer_t* buffer, [[maybe_unused]] const ucontext_t* uc) {
65
#ifdef __x86_64__
66
#ifdef __APPLE__
67
- const auto* uc = static_cast<ucontext_t*>(ucontext);
68
-
69
crash_dump_write_reg(LITERAL_WITH_LENGTH("RIP=0x"), uc->uc_mcontext->__ss.__rip, buffer);
70
crash_dump_write_reg(LITERAL_WITH_LENGTH("RSP=0x"), uc->uc_mcontext->__ss.__rsp, buffer);
71
crash_dump_write_reg(LITERAL_WITH_LENGTH("RBP=0x"), uc->uc_mcontext->__ss.__rbp, buffer);
0 commit comments