Patch for compilation on 32-bit msvc

This commit is contained in:
Jeremy 2023-10-02 17:30:06 -04:00
parent 26ba20acac
commit b236da4a0b
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -121,7 +121,7 @@ namespace detail {
// On x86/x64/arm, as far as I can tell, the frame return address is always one after the call
// So we just decrement to get the pc back inside the `call` / `bl`
// This is done with _Unwind too but conditionally based on info from _Unwind_GetIPInfo.
trace.push_back(frame.AddrPC.Offset - 1);
trace.push_back(static_cast<uintptr_t>(frame.AddrPC.Offset) - 1);
}
} else {
// base